See meta issue #1373884: [meta] Core does not use hook_hook_info().

Core modules should support hook_hook_info(), even if not implemented in core code usage.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

agentrickard’s picture

Status: Active » Needs review
FileSize
824 bytes

And the patch.

amontero’s picture

#1: 1375002-aggregator-hook-info.patch queued for re-testing.

Status: Needs review » Needs work

The last submitted patch, 1375002-aggregator-hook-info.patch, failed testing.

amontero’s picture

Status: Needs work » Needs review

#1: 1375002-aggregator-hook-info.patch queued for re-testing.

Xano’s picture

I couldn't find any reference to a hook_aggregator_fetch(). The patch removes this hook from the implementation, and uses array_fill_keys() rather than a foreach().

amontero’s picture

ParisLiakos’s picture

Status: Needs review » Closed (works as designed)

none of those hooks exist anymore.dunno if this needs backport? closing, feel free to reopen for 7.x

amontero’s picture

Hi Paris, I still can find its documentation at http://api.drupal.org/api/drupal/core%21modules%21system%21system.api.ph...
and the parent meta issue is still active and does not mention anything about this on 8.x.
Also, grepping for hook_hook_info still gives plenty of results. Please, can you link the relevant issue? TIA.

ParisLiakos’s picture

i mean for the aggregator hooks inside the patch, not hook_hook_info

amontero’s picture

Version: 8.x-dev » 7.x-dev
Status: Closed (works as designed) » Needs review
FileSize
1.04 KB

Oh, now I see. Sorry.
Moving to 7.x with patch attached.

amontero’s picture

Issue summary: View changes

Changes issue reference.

dpi’s picture

Issue summary: View changes
Status: Needs review » Closed (won't fix)
Parent issue: » #1373884: [meta] Core does not use hook_hook_info()
Related issues: +#2233261: Deprecate hook_hook_info()