Let hook_hook_info() handle hooks in .install files (aka "rename MODULE.install to MODULE.install.inc")

Created on 16 January 2011, almost 14 years ago
Updated 8 March 2023, almost 2 years ago

It appears hook_field_schema() has moved its implementation to .install files since I last used it -- see http://api.drupal.org/api/drupal/modules--field--field.api.php/function/...

As far as I can tell, now this can't be invoked with module_invoke(), since the .install files won't be loaded.

I reckon this can be fixed by field module implementing hook_hook_info() -- however I'm not sure this will work with 'install' as a group since install files are a special case.

Feature request
Status

Closed: duplicate

Component

base system

Created by

🇬🇧United Kingdom joachim

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024