summaryrefslogtreecommitdiff
path: root/modules/rdf/tests
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-04-22 21:41:09 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-04-22 21:41:09 +0000
commitcca6d06c01e377975e8625b6743d069e08b38684 (patch)
tree77eda58d8cbf06a52125399f5c586c30988a902c /modules/rdf/tests
parent164b9a3268e20c7e9ee792009ea5ee803f592bd4 (diff)
downloadbrdo-cca6d06c01e377975e8625b6743d069e08b38684.tar.gz
brdo-cca6d06c01e377975e8625b6743d069e08b38684.tar.bz2
#721082 by scor, linclark: Fixed Prevent conflicting namespaces and move hook_rdf_namespaces() invocation into rdf.module.
Diffstat (limited to 'modules/rdf/tests')
-rw-r--r--modules/rdf/tests/rdf_test.module11
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/rdf/tests/rdf_test.module b/modules/rdf/tests/rdf_test.module
index dedd2fd80..0c8c3b2a1 100644
--- a/modules/rdf/tests/rdf_test.module
+++ b/modules/rdf/tests/rdf_test.module
@@ -54,3 +54,14 @@ function rdf_test_rdf_mapping() {
),
);
}
+
+/**
+ * Implements hook_rdf_namespaces().
+ */
+function rdf_test_rdf_namespaces() {
+ return array(
+ 'dc' => 'http://purl.org/conflicting/namespace',
+ 'foaf' => 'http://xmlns.com/foaf/0.1/',
+ 'foaf1' => 'http://xmlns.com/foaf/0.1/',
+ );
+}