Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The hook_features_api() callback, workbench_moderation_features_api(), is currently located in workbench_moderation.features.inc. The hook isn't recognized on a site in which I'm running Features 7.x-2.x. Moving the hook to workbench_moderation.module, e.g. hook_views_api(), resolves this issue.
Comment | File | Size | Author |
---|---|---|---|
#1 | workbench-move_hook_features_api-2096225-1.patch | 2.29 KB | jrbeeman |
Comments
Comment #1
jrbeemanPatch attached.
Comment #2
jrbeemanComment #3
grasmash CreditAttribution: grasmash commentedThis patch works and does not appear to introduce any regressions.
Comment #4
alansaviolobo CreditAttribution: alansaviolobo commentedawaiting committing of this patch into the module.
Comment #6
colanThanks!