container--text-format-filter-guidelines.html.twig in Drupal 9
Same filename in this branch
- 9 core/themes/claro/templates/text_format/container--text-format-filter-guidelines.html.twig
- 9 core/themes/seven/templates/text_format/container--text-format-filter-guidelines.html.twig
- 9 core/themes/bartik/templates/text_format/container--text-format-filter-guidelines.html.twig
- 9 core/profiles/demo_umami/themes/umami/templates/components/text_format/container--text-format-filter-guidelines.html.twig
Same filename and directory in other branches
Theme implementation for text filter guidelines.
Available variables:
- attributes: HTML attributes for the containing element.
- children: The rendered child elements of the container.
- has_parent: A flag to indicate that the container has one or more parent containers.
See also
File
core/themes/bartik/templates/text_format/container--text-format-filter-guidelines.html.twigView source
- {#
- /**
- * @file
- * Theme implementation for text filter guidelines.
- *
- * Available variables:
- * - attributes: HTML attributes for the containing element.
- * - children: The rendered child elements of the container.
- * - has_parent: A flag to indicate that the container has one or more parent
- * containers.
- *
- * @see template_preprocess_container()
- *
- * @ingroup themeable
- */
- #}
- {%
- set classes = [
- has_parent ? 'js-form-wrapper',
- has_parent ? 'form-wrapper',
- 'filter-guidelines',
- ]
- %}
- <div{{ attributes.addClass(classes) }}>{{ children }}</div>