[support] hook_menu in module developers guide?

Steve Edwards killshot91 at comcast.net
Tue Aug 19 02:40:00 UTC 2008


When you are using a hook function, you replace the word "hook" with the name of your module.  So, if your module is called 
mymodule, then the menu function would be mymodule_hook().

Steve

Roy Smith wrote:
> I'm working my way through the drupal 6.x module developers guide.  In http://drupal.org/node/206761 
> , the text talks about something called hook_menu(), but the example  
> shows onthisdate_menu()?  I don't understand the relationship between  
> these two.
> 
> I created the onthisdate_menu() function as described, but when I go  
> to the admin page, I don't see anyplace to configure the module.
> 
> 
> ----------------
> Roy Smith
> roy at panix.com
> 
> 
> 
> 


More information about the support mailing list