field-group-accordion.html.twig 430 B

123456789101112131415161718192021
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for a fieldgroup accordion item.
  5. *
  6. * Available variables:
  7. * - children: The children of the group.
  8. * - attributes: A list of HTML attributes for the group wrapper.
  9. *
  10. * @see template_preprocess_field_group_accordion()
  11. *
  12. * @ingroup themeable
  13. */
  14. #}
  15. {%
  16. set classes = [
  17. 'field-group-accordion-wrapper',
  18. ]
  19. %}
  20. <div {{ attributes.addClass(classes) }}>{{ children }}</div>