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.