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
- 10 core/themes/stable9/templates/form/dropbutton-wrapper.html.twig
- 10 core/themes/starterkit_theme/templates/form/dropbutton-wrapper.html.twig
- 10 core/modules/system/templates/dropbutton-wrapper.html.twig
Default theme implementation for a dropbutton wrapper.
Available variables:
- children: Contains the child elements of the dropbutton menu.
See also
File
-
core/
modules/ system/ templates/ dropbutton-wrapper.html.twig
View source
- {#
- /**
- * @file
- * Default theme implementation for a dropbutton wrapper.
- *
- * Available variables:
- * - children: Contains the child elements of the dropbutton menu.
- *
- * @see template_preprocess()
- *
- * @ingroup themeable
- */
- #}
- {% if children %}
- {% apply spaceless %}
- <div class="dropbutton-wrapper" data-drupal-ajax-container>
- <div class="dropbutton-widget">
- {{ children }}
- </div>
- </div>
- {% endapply %}
- {% endif %}
Related topics
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.