- 🇬🇧United Kingdom catch
Duplicate of 🌱 [META] Hooks via attributes on service methods (hux style) Active and 📌 Deprecate hook_hook_info() Active at this point.
Modules' .install files are meant to prevent (un)installation and update code from being included on every single page. However, we have had hook_hook_info() since Drupal 6 and we can use that to add all hooks of which implementations should live in .install files to an "install" group, essentially renaming MODULENAME.install files to MODULENAME.install.inc.
Why? So we can get rid of a few lines of .install file-specific code and a bunch of documentation, because we'll treat those hook implementations just like any other hook implementation.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Duplicate of 🌱 [META] Hooks via attributes on service methods (hux style) Active and 📌 Deprecate hook_hook_info() Active at this point.