rdf-metadata.html.twig

Default theme implementation for empty spans with RDF attributes.

The XHTML+RDFa doctype allows either <span></span> or <span /> syntax to be used, but for maximum browser compatibility, W3C recommends the former when serving pages using the text/html media type, see http://www.w3.org/TR/xhtml1/#C_3.

Available variables:

  • metadata: Each item within corresponds to its own set of attributes, and therefore, needs its own 'attributes' element.

See also

template_preprocess_rdf_metadata()

File

core/modules/rdf/templates/rdf-metadata.html.twig

Related topics

Theme system overview
Functions and templates for the user interface that themes can override.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!rdf!templates!rdf-metadata.html.twig/8.1.x