rdf-wrapper.html.twig

Same filename in this branch
  1. 9 core/themes/stable9/templates/media-library/rdf-wrapper.html.twig
  2. 9 core/themes/stable/templates/misc/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

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.
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/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


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