You are here

heading.html.twig in Heading field 8

Default theme implementation to present a Heading field.

Available variables:

  • size : The heading size (h1 - h6).
  • text : The text for within the heading.

See also

template_preprocess_heading()

File

templates/heading.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation to present a Heading field.
  5. *
  6. * Available variables:
  7. * - size : The heading size (h1 - h6).
  8. * - text : The text for within the heading.
  9. *
  10. * @see template_preprocess_heading()
  11. *
  12. * @ingroup themeable
  13. */
  14. #}
  15. <{{ size }}>{{ text }}</{{ size }}>