dropbutton-wrapper.html.twig 385 B

1234567891011121314151617181920
  1. {#
  2. /**
  3. * @file
  4. * Theme override 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. #}
  12. {% if children %}
  13. {% spaceless %}
  14. <div class="dropbutton-wrapper">
  15. <div class="dropbutton-widget">
  16. {{ children }}
  17. </div>
  18. </div>
  19. {% endspaceless %}
  20. {% endif %}