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 logic in _aggregator_get_variables() is incorrect: It thinks that if the aggregator's processor is turned off in the UI, then aggregator.processor.inc doesn't need to be loaded any more. But it's not true: If you turn off that processor, then the whole settings UI goes away, because it's not there :-)
The correct implementation here is to use hook_hook_info() to inform Drupal about the availability of these hooks. This patch adds that. (Thanks, @davereid.)
Comment | File | Size | Author |
---|---|---|---|
drupal.aggregator_hook_hook_info.patch | 1.75 KB | rfay | |
Comments
Comment #2
Jody LynnComment #3
rfayActually, this is a bug, not a feature, so may still need to be addressed in 7.x. I have to admit it's an unusual case, and that the bug has probably been there through 3-4 versions of Drupal.
Comment #4
Jody LynnWhat's hook_hook_info?