You are here

rdf-wrapper.html.twig in Drupal 10

Default theme implementation for wrapping content with RDF attributes.

Available variables:

  • content: The content being wrapped with RDF attributes.
  • attributes: HTML attributes, including RDF attributes for wrapper element.

File

core/modules/rdf/templates/rdf-wrapper.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for wrapping content with RDF attributes.
  5. *
  6. * Available variables:
  7. * - content: The content being wrapped with RDF attributes.
  8. * - attributes: HTML attributes, including RDF attributes for wrapper element.
  9. *
  10. * @ingroup themeable
  11. */
  12. #}
  13. <span{{ attributes }}>{{ content }}</span>

Related topics