summaryrefslogtreecommitdiff
path: root/modules/rdf/tests/rdf_test.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/rdf/tests/rdf_test.module')
-rw-r--r--modules/rdf/tests/rdf_test.module11
1 files changed, 5 insertions, 6 deletions
diff --git a/modules/rdf/tests/rdf_test.module b/modules/rdf/tests/rdf_test.module
index 72959705f..46144951b 100644
--- a/modules/rdf/tests/rdf_test.module
+++ b/modules/rdf/tests/rdf_test.module
@@ -3,16 +3,15 @@
/**
* @file
- * Dummy module implementing RDF related hooks to test API interaction with
- * the RDF module.
+ * Test API interaction with the RDF module.
*/
/**
- * Implementation of hook_rdf_mapping().
+ * Implements hook_rdf_mapping().
*/
function rdf_test_rdf_mapping() {
return array(
- 0 => array(
+ array(
'type' => 'test_entity',
'bundle' => 'test_bundle',
'mapping' => array(
@@ -33,12 +32,12 @@ function rdf_test_rdf_mapping() {
),
),
),
- 1 => array(
+ array(
'type' => 'node',
'bundle' => 'blog',
'mapping' => array(
'rdftype' => array('sioct:Weblog'),
- )
+ ),
),
);
}