field-group-accordion.html.twig in Field Group 8.3
Same filename and directory in other branches
Default theme implementation for a fieldgroup accordion item.
Available variables:
- children: The children of the group.
- attributes: A list of HTML attributes for the group wrapper.
See also
File
templates/field-group-accordion.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation for a fieldgroup accordion item.
- *
- * Available variables:
- * - children: The children of the group.
- * - attributes: A list of HTML attributes for the group wrapper.
- *
- * @see template_preprocess_field_group_accordion()
- *
- * @ingroup themeable
- */
- #}
- {%
- set classes = [
- 'field-group-accordion-wrapper',
- ]
- %}
-
- <div {{ attributes.addClass(classes) }}>{{ children }}</div>