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.
Currently the vertical_tabs group type doesn't have a title.
The primary reason is that theme_vertical_tabs doesn't have use that, though for certain cases, like for example in forms, this definitive makes sense to have.
Comment | File | Size | Author |
---|---|---|---|
#2 | 1469500-vertical_tabs-title.patch | 813 bytes | dawehner |
#1 | 1469500-vertical_tabs-title.patch | 656 bytes | dawehner |
Comments
Comment #1
dawehnerThis patch adds the #title setting, so custom themes can implement it, if required.
Comment #2
dawehnerWhat about using theme_form_element to get the form_element-like behavior.
Comment #3
nils.destoop CreditAttribution: nils.destoop commentedYour patch has been committed. I also added it for horizontal tabs.
Comment #4
nils.destoop CreditAttribution: nils.destoop commentedI removed the #theme_wrappers property. As it caused the title to appear when not wanted.