Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#1 | disable_vertical_tabs_simplify_disabling_vertical_tabs-2080739-1.patch | 1.39 KB | Sk8erPeter |
Comments
Comment #1
Sk8erPeter CreditAttribution: Sk8erPeter commentedI attached a patch! Could you please test it? Thanks!
Comment #2
joyceg CreditAttribution: joyceg commentedCan you help me get the file location?
I am not able to locate template.php.