In #1048644: Vertical tabs cannot be disabled, I described a simpler method instead of walking the whole $form array recursively:
https://drupal.org/node/1048644#comment-7822687

Could you change it like this? :) Of course, in your code, without the $form_id variable. This module could possibly be improved by providing a checkbox on the entity editing form (content type, taxonomy vocabulary, etc.) whether the vertical tabs should be disabled or not.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Sk8erPeter’s picture

Status: Active » Needs review
FileSize
1.39 KB

I attached a patch! Could you please test it? Thanks!

joyceg’s picture

Issue summary: View changes

Can you help me get the file location?
I am not able to locate template.php.