file dropbutton-wrapper.html.twig

Theme override for a dropbutton wrapper.

Available variables:

  • children: Contains the child elements of the dropbutton menu.

File

templates/form/dropbutton-wrapper.html.twig
View source
  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 %}

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.

Log in