paragraphs-dropbutton-wrapper.html.twig

Default theme implementation for a paragraphs dropbutton wrapper.

Available variables:

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

See also

template_preprocess()

template_preprocess_paragraphs_dropbutton_wrapper()

File

paragraphs/templates/paragraphs-dropbutton-wrapper.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for a paragraphs dropbutton wrapper.
  5. *
  6. * Available variables:
  7. * - children: Contains the child elements of the paragraphs dropbutton menu.
  8. *
  9. * @see template_preprocess()
  10. * @see template_preprocess_paragraphs_dropbutton_wrapper()
  11. *
  12. * @ingroup themeable
  13. */
  14. #}
  15. {% if children %}
  16. {% apply spaceless %}
  17. <div class="paragraphs-dropbutton-wrapper">
  18. {{ children }}
  19. </div>
  20. {% endapply %}
  21. {% endif %}