Q:

How do I remove the tabs from the edit field collection form in Drupal 7?

When editing a field collection on a node there are two tabs typically, view and edit. I wanted to remove them. Obviously I can hide them with CSS, but this feels like the wrong way to do it. Is there a better way?

A:

tab tamer has just been ported to D7 a week ago and might be able to remove those tabs as well.

A:

If you want to do this with code, you can use hook_menu_alter(). Set the "type" to MENU_CALLBACK. This will still keep the path registered, but it will not show a tab. More inforamtion

