Hook Advice

Categories

Component ID

2468915

Component name

Hook Advice

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

523

Component created

Component changed

Component body

A developer friendly module which provides instant information about hook callbacks from where or which file the request is coming.

Suppose if you need to find out module name, page callback, page arguments, etc then normally a developer goes to sites/all/modules and tries to search the module files manually. Sometimes it consumes lot of time to find the file from which the request is coming exactly. This module tries to give a solution.

How to use it?

In case clean URL is disabled
**********************

site_name/?q=somecontent&hook_advice=1

In case clean URL is enabled
**********************

site_name/somecontent?hook_advice=1

if overlay is enabled in Drupal site
**************************
Then remove overlay values which Drupal puts by default when request is loaded. Try to make the URL clean and follow the above instructions.

Notes:

1. Module should be enabled for administrator or equivalent role only.
2. Recommended to use in development environment.