rdf-wrapper.html.twig

Same filename in this branch
  1. 9 core/themes/stable/templates/misc/rdf-wrapper.html.twig
  2. 9 core/modules/rdf/templates/rdf-wrapper.html.twig
Same filename in other branches
  1. 8.9.x core/themes/stable/templates/misc/rdf-wrapper.html.twig
  2. 8.9.x core/modules/rdf/templates/rdf-wrapper.html.twig

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.
1 theme call to rdf-wrapper.html.twig
rdf_preprocess_comment in core/modules/rdf/rdf.module
Implements hook_preprocess_HOOK() for comment templates.

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>

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