dropbutton-wrapper.html.twig 424 B

12345678910111213141516171819202122
  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. * @see template_preprocess()
  10. *
  11. * @ingroup themeable
  12. */
  13. #}
  14. {% if children %}
  15. {% spaceless %}
  16. <div class="dropbutton-wrapper">
  17. <div class="dropbutton-widget">
  18. {{ children }}
  19. </div>
  20. </div>
  21. {% endspaceless %}
  22. {% endif %}