You are here

container--text-format-filter-help.html.twig in Drupal 9

Theme implementation for text filter help.

Available variables:

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

File

core/themes/claro/templates/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