vertical-tabs.html.twig in Open Social 8.5
Same filename and directory in other branches
- 8.9 themes/socialbase/templates/system/vertical-tabs.html.twig
- 8 themes/socialbase/templates/system/vertical-tabs.html.twig
- 8.2 themes/socialbase/templates/system/vertical-tabs.html.twig
- 8.3 themes/socialbase/templates/system/vertical-tabs.html.twig
- 8.4 themes/socialbase/templates/system/vertical-tabs.html.twig
- 8.6 themes/socialbase/templates/system/vertical-tabs.html.twig
- 8.7 themes/socialbase/templates/system/vertical-tabs.html.twig
- 8.8 themes/socialbase/templates/system/vertical-tabs.html.twig
Default theme implementation for vertical tabs.
Available variables
- attributes: A list of HTML attributes for the wrapper element.
- children: The rendered tabs.
- children_raw: The raw tabs titles for in the tabs ul.
See also
File
themes/socialbase/templates/system/vertical-tabs.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation for vertical tabs.
- *
- * Available variables
- * - attributes: A list of HTML attributes for the wrapper element.
- * - children: The rendered tabs.
- * - children_raw: The raw tabs titles for in the tabs ul.
- * @see template_preprocess_vertical_tabs()
- *
- * @ingroup themeable
- */
- #}
- {{ attach_library('socialbase/nav-tabs')}}
- <div{{ attributes.setAttribute('data-vertical-tabs-panes', TRUE).addClass('card__block') }}>
- {{ children }}
- </div>