dropbutton-wrapper.html.twig in Zircon Profile 8.0
Same filename in this branch
Same filename and directory in other branches
Default theme implementation for a dropbutton wrapper.
Available variables:
- children: Contains the child elements of the dropbutton menu.
File
core/modules/system/templates/dropbutton-wrapper.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation for a dropbutton wrapper.
- *
- * Available variables:
- * - children: Contains the child elements of the dropbutton menu.
- *
- * @see template_preprocess()
- * @see template_preprocess_dropbutton_wrapper()
- *
- * @ingroup themeable
- */
- #}
- {% if children %}
- {% spaceless %}
- <div class="dropbutton-wrapper">
- <div class="dropbutton-widget">
- {{ children }}
- </div>
- </div>
- {% endspaceless %}
- {% endif %}