[support] Hide certain tabs

Salvatore De Paolis iwkse at gmx.com
Thu Nov 10 17:48:13 UTC 2011


Hi all,

I'm trying to hide some tabs installed with some modules and to do that I'm using hooks
like:

hook_menu()
hook_menu_alter()

and I'm setting the access_callback to false.
Some tabs are hidden with hook_menu() other with hook_menu_alter() (why?) and another
one doesn't want to go away anyhow :)
The tab is been installed with the flag module and it's called Bookmarks.

So do you know the best way to hide tabs? Should I use temable functions?

Regards,
Sal



More information about the support mailing list