You are here

function rdf_rdf_namespaces in Drupal 8

Same name and namespace in other branches
  1. 7 modules/rdf/rdf.module \rdf_rdf_namespaces()
  2. 9 core/modules/rdf/rdf.module \rdf_rdf_namespaces()
  3. 10 core/modules/rdf/rdf.module \rdf_rdf_namespaces()

Implements hook_rdf_namespaces().

Related topics

File

core/modules/rdf/rdf.module, line 91
Enables semantically enriched output for Drupal sites in the form of RDFa.

Code

function rdf_rdf_namespaces() {
  return [
    'content' => 'http://purl.org/rss/1.0/modules/content/',
    'dc' => 'http://purl.org/dc/terms/',
    'foaf' => 'http://xmlns.com/foaf/0.1/',
    'og' => 'http://ogp.me/ns#',
    'rdfs' => 'http://www.w3.org/2000/01/rdf-schema#',
    'schema' => 'http://schema.org/',
    'sioc' => 'http://rdfs.org/sioc/ns#',
    'sioct' => 'http://rdfs.org/sioc/types#',
    'skos' => 'http://www.w3.org/2004/02/skos/core#',
    'xsd' => 'http://www.w3.org/2001/XMLSchema#',
  ];
}