From cca6d06c01e377975e8625b6743d069e08b38684 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Thu, 22 Apr 2010 21:41:09 +0000 Subject: #721082 by scor, linclark: Fixed Prevent conflicting namespaces and move hook_rdf_namespaces() invocation into rdf.module. --- modules/rdf/tests/rdf_test.module | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'modules/rdf/tests') 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/', + ); +} -- cgit v1.2.3