You are here

rdf-wrapper.html.twig in Drupal 10

Theme override 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/themes/stable9/templates/media-library/rdf-wrapper.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Theme override 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. #}
  11. <span{{ attributes }}>{{ content }}</span>