Similar to the existing Hook_elements() and PHPInfo() pages. A page that takes a text input for a hook name to display the module_implements() array for.

I sometimes find myself creating a quick hook_init during module development or site debugging to get output for module_implements(). So I thought this might be a nice thing to have in Devel since it will almost always be installed during these times.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

petermallett’s picture

Status: Active » Needs review
FileSize
2.22 KB

I made a stab at a patch to 7.x-1.x to add this page. This will add a link under the 'Other tools' menu item (using Admin 2) with a form to input the hook name which, upon rebuild, will display the array returned from module_implements.

Currently I'm seeing an issue where the krumo output isn't right on the first submit, but I'm not sure why it's happening.

pcambra’s picture

Could you join forces with #1364696: Give me the list of all hooks?

willzyx’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)

Closing for lack of activity. Feel free to reopen if the issue still exists