[drupal-devel] Remove menu item

Negyesi Karoly karoly at negyesi.net
Mon Feb 28 16:10:49 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.


Karoly Negyesi

More information about the drupal-devel mailing list