[drupal-devel] Remove menu item

Gabor Hojtsy gabor at hojtsy.hu
Mon Feb 28 20:47:55 UTC 2005


>>I'd been playing with a module that creates aditional URLS. As per
>>'Module's developer manual' I'd implemente the _menu hook. But, this
>>way, an item is added to the navigation menu. How can I get rid of it ?
> 
> MENU_CALLBACK: Callbacks simply register a path so that the correct function 
> is fired when the URL is accessed.
> 
> So, define 'type' => MENU_CALLBACK
> 
> I'll consult JonBob about updating the docs 'cos this is really not evident.

It is quite clear, if you read the menu hook docs, but it can be better :)

Goba



More information about the drupal-devel mailing list