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.