summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/rdf/rdf.module22
-rw-r--r--modules/system/system.module22
2 files changed, 22 insertions, 22 deletions
diff --git a/modules/rdf/rdf.module b/modules/rdf/rdf.module
index 01a3f8c7a..34f7dac2d 100644
--- a/modules/rdf/rdf.module
+++ b/modules/rdf/rdf.module
@@ -71,6 +71,28 @@ function rdf_help($path, $arg) {
define('RDF_DEFAULT_BUNDLE', '');
/**
+ * Implements hook_rdf_namespaces().
+ */
+function rdf_rdf_namespaces() {
+ return array(
+ 'admin' => 'http://webns.net/mvcb/',
+ 'content' => 'http://purl.org/rss/1.0/modules/content/',
+ 'dc' => 'http://purl.org/dc/terms/',
+ 'foaf' => 'http://xmlns.com/foaf/0.1/',
+ 'owl' => 'http://www.w3.org/2002/07/owl#',
+ 'rdf' => 'http://www.w3.org/1999/02/22-rdf-syntax-ns#',
+ 'rdfs' => 'http://www.w3.org/2000/01/rdf-schema#',
+ 'rss' => 'http://purl.org/rss/1.0/',
+ 'tags' => 'http://www.holygoat.co.uk/owl/redwood/0.1/tags/',
+ 'sioc' => 'http://rdfs.org/sioc/ns#',
+ 'sioct' => 'http://rdfs.org/sioc/types#',
+ 'ctag' => 'http://commontag.org/ns#',
+ 'skos' => 'http://www.w3.org/2004/02/skos/core#',
+ 'xsd' => 'http://www.w3.org/2001/XMLSchema#',
+ );
+}
+
+/**
* Returns the mapping for attributes of a given type/bundle pair.
*
* @param $type
diff --git a/modules/system/system.module b/modules/system/system.module
index c56cb11db..e0500e70f 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -233,28 +233,6 @@ function system_permission() {
}
/**
- * Implements hook_rdf_namespaces().
- */
-function system_rdf_namespaces() {
- return array(
- 'admin' => 'http://webns.net/mvcb/',
- 'content' => 'http://purl.org/rss/1.0/modules/content/',
- 'dc' => 'http://purl.org/dc/terms/',
- 'foaf' => 'http://xmlns.com/foaf/0.1/',
- 'owl' => 'http://www.w3.org/2002/07/owl#',
- 'rdf' => 'http://www.w3.org/1999/02/22-rdf-syntax-ns#',
- 'rdfs' => 'http://www.w3.org/2000/01/rdf-schema#',
- 'rss' => 'http://purl.org/rss/1.0/',
- 'tags' => 'http://www.holygoat.co.uk/owl/redwood/0.1/tags/',
- 'sioc' => 'http://rdfs.org/sioc/ns#',
- 'sioct' => 'http://rdfs.org/sioc/types#',
- 'ctag' => 'http://commontag.org/ns#',
- 'skos' => 'http://www.w3.org/2004/02/skos/core#',
- 'xsd' => 'http://www.w3.org/2001/XMLSchema#',
- );
-}
-
-/**
* Implements hook_hook_info().
*/
function system_hook_info() {