dropbutton-wrapper.html.twig
Same filename in this branch
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 %}
- <div class="dropbutton-wrapper" data-drupal-ajax-container>
- <div class="dropbutton-widget">{{- children -}}</div>
- </div>
- {%- endif %}
Related topics
- Theme system overview
- Functions and templates for the user interface that themes can override.