10 Nov
2011
10 Nov
'11
7:02 p.m.
IMHO, the best way to hide tabs is with permissions. You might want to open an issue on the module explaining your use case and why it should provide additional permissions. I'm sure a patch would be most welcome. Nancy Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.
________________________________ From: Salvatore De Paolis
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.