vertical-tabs.html.twig in Drupal 10
Same filename in this branch
- 10 core/modules/system/templates/vertical-tabs.html.twig
- 10 core/themes/starterkit_theme/templates/navigation/vertical-tabs.html.twig
- 10 core/themes/classy/templates/navigation/vertical-tabs.html.twig
- 10 core/themes/stable9/templates/navigation/vertical-tabs.html.twig
- 10 core/themes/stable/templates/navigation/vertical-tabs.html.twig
Same filename and directory in other branches
Theme override for vertical tabs.
Available variables
- attributes: A list of HTML attributes for the wrapper element.
- children: The rendered tabs.
See also
File
core/themes/classy/templates/navigation/vertical-tabs.html.twigView source
- {#
- /**
- * @file
- * Theme override for vertical tabs.
- *
- * Available variables
- * - attributes: A list of HTML attributes for the wrapper element.
- * - children: The rendered tabs.
- *
- * @see template_preprocess_vertical_tabs()
- */
- #}
- <div{{ attributes.setAttribute('data-vertical-tabs-panes', TRUE) }}>{{ children }}</div>