rdf-wrapper.html.twig in Drupal 10
Same filename in this branch
Same filename and directory in other branches
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.twigView source
- {#
- /**
- * @file
- * 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.
- */
- #}
- <span{{ attributes }}>{{ content }}</span>