$path in scaffolding.module
Tue, 2011-11-08 08:19
Hi,
When and where does the variable $path get initialised with the path of the page ?
Is it a global variable ? as I can't see any function returning data to it in scaffolding.module or scaffolding.admin.inc
cheers,
Vishal
Sat, 2011-11-12 03:18
#2
thank you, that helped.
thank you, that helped.
The API documentation explains that the $path argument is being passed automatically as defined in hook_menu(). Maybe looking at hook_menu() code you'll find it...
http://api.drupal.org/api/drupal/modules--help--help.api.php/function/ho...