container--text-format-filter-help.html.twig

Same filename in this branch
  1. 11.x core/themes/claro/templates/text_format/container--text-format-filter-help.html.twig
Same filename in other branches
  1. 9 core/profiles/demo_umami/themes/umami/templates/components/text_format/container--text-format-filter-help.html.twig
  2. 9 core/themes/seven/templates/text_format/container--text-format-filter-help.html.twig
  3. 9 core/themes/claro/templates/text_format/container--text-format-filter-help.html.twig
  4. 9 core/themes/bartik/templates/text_format/container--text-format-filter-help.html.twig
  5. 10 core/profiles/demo_umami/themes/umami/templates/components/text_format/container--text-format-filter-help.html.twig
  6. 10 core/themes/claro/templates/text_format/container--text-format-filter-help.html.twig

Theme implementation for text filter help.

Available variables:

  • attributes: HTML attributes for the containing element.
  • children: The rendered child elements of the container.

See also

template_preprocess_container()

File

core/profiles/demo_umami/themes/umami/templates/components/text_format/container--text-format-filter-help.html.twig

View source
  1. {#
  2. /**
  3. * @file
  4. * Theme implementation for text filter help.
  5. *
  6. * Available variables:
  7. * - attributes: HTML attributes for the containing element.
  8. * - children: The rendered child elements of the container.
  9. *
  10. * @see template_preprocess_container()
  11. *
  12. * @ingroup themeable
  13. */
  14. #}
  15. {%
  16. set classes = [
  17. has_parent ? 'js-form-wrapper',
  18. has_parent ? 'form-wrapper',
  19. 'filter-help',
  20. ]
  21. %}
  22. <div{{ attributes.addClass(classes) }}>{{ children }}</div>

Related topics


Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.