dropbutton-wrapper.html.twig
Same filename in this branch
Same filename in other branches
- 9 core/themes/stable9/templates/form/dropbutton-wrapper.html.twig
- 9 core/themes/stable/templates/form/dropbutton-wrapper.html.twig
- 9 core/themes/starterkit_theme/templates/form/dropbutton-wrapper.html.twig
- 9 core/themes/classy/templates/form/dropbutton-wrapper.html.twig
- 9 core/modules/system/templates/dropbutton-wrapper.html.twig
- 8.9.x core/themes/stable/templates/form/dropbutton-wrapper.html.twig
- 8.9.x core/themes/classy/templates/form/dropbutton-wrapper.html.twig
- 8.9.x core/modules/system/templates/dropbutton-wrapper.html.twig
- 11.x core/themes/stable9/templates/form/dropbutton-wrapper.html.twig
- 11.x core/themes/starterkit_theme/templates/form/dropbutton-wrapper.html.twig
- 11.x core/modules/system/templates/dropbutton-wrapper.html.twig
Theme override for a dropbutton wrapper.
Available variables:
- children: Contains the child elements of the dropbutton menu.
See also
File
-
core/
themes/ stable9/ templates/ form/ dropbutton-wrapper.html.twig
View source
- {#
- /**
- * @file
- * Theme override for a dropbutton wrapper.
- *
- * Available variables:
- * - children: Contains the child elements of the dropbutton menu.
- *
- * @see template_preprocess()
- */
- #}
- {% if children %}
- {% apply spaceless %}
- <div class="dropbutton-wrapper" data-drupal-ajax-container>
- <div class="dropbutton-widget">
- {{ children }}
- </div>
- </div>
- {% endapply %}
- {% endif %}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.