text-format-wrapper--gin-lb.html.twig in Gin Layout Builder 1.0.x
Theme override for a text format-enabled form element.
Available variables:
- children: Text format element children.
- description: Text format element description.
- attributes: HTML attributes for the containing element.
- aria_description: Flag for whether or not an ARIA description has been added to the description container.
See also
File
templates/form/text-format-wrapper--gin-lb.html.twigView source
- {#
- /**
- * @file
- * Theme override for a text format-enabled form element.
- *
- * Available variables:
- * - children: Text format element children.
- * - description: Text format element description.
- * - attributes: HTML attributes for the containing element.
- * - aria_description: Flag for whether or not an ARIA description has been
- * added to the description container.
- *
- * @see template_preprocess_text_format_wrapper()
- */
- #}
- <div class="js-text-format-wrapper js-form-item glb-form-item">
- {{ children }}
- {% if description %}
- <div{{ glb_classes(attributes) }}>{{ description }}</div>
- {% endif %}
- </div>