As a beginning developer, it seems like I spend a significant percentage of my time googling to find out what hook to call in order to modify something before it renders.
In the drupal 7.33 release, the theme debug mode
was introduced, which provides contextual information in the page's HTML to theme developers and can be accessed by setting the theme_debug
variable to TRUE
.
Obviously there is no hook debug mode
supported in core, but is anyone aware of a module that would provides contextual information about attempted hook calls, similar to how theme debug mode
displays theme suggestion attempts?
Specifically, I am wondering if there is a module that would generate a list of every call to drupal_alter()
, module_invoke_all()
, or module_invoke()
, along with the $type
, $module
, and/or $hook
arguments supplied to these functions.