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