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.
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.
Comment | File | Size | Author |
---|---|---|---|
#1 | devel-add-module-implements-2108293-1.patch | 2.22 KB | petermallett |
Comments
Comment #1
petermallett CreditAttribution: petermallett commentedI 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.
Comment #2
pcambraCould you join forces with #1364696: Give me the list of all hooks?
Comment #3
willzyx CreditAttribution: willzyx commentedClosing for lack of activity. Feel free to reopen if the issue still exists