dropbutton-wrapper.html.twig

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.twig

View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for a dropbutton wrapper.
  5. *
  6. * Available variables:
  7. * - children: Contains the child elements of the dropbutton menu.
  8. *
  9. * @ingroup themeable
  10. */
  11. #}
  12. {% if children %}
  13. <div class="dropbutton-wrapper" data-drupal-ajax-container>
  14. <div class="dropbutton-widget">{{- children -}}</div>
  15. </div>
  16. {%- endif %}

Related topics


Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.