Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / chi-teck / drupal-code-generator / templates / d8 / hook / rdf_namespaces.twig
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/rdf_namespaces.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/rdf_namespaces.twig
new file mode 100644 (file)
index 0000000..4caef0d
--- /dev/null
@@ -0,0 +1,16 @@
+/**
+ * Implements hook_rdf_namespaces().
+ */
+function {{ machine_name }}_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#',
+    '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#',
+  ];
+}