diff options
Diffstat (limited to 'modules/rdf/tests/rdf_test.install')
-rw-r--r-- | modules/rdf/tests/rdf_test.install | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/modules/rdf/tests/rdf_test.install b/modules/rdf/tests/rdf_test.install new file mode 100644 index 000000000..ba7086ddd --- /dev/null +++ b/modules/rdf/tests/rdf_test.install @@ -0,0 +1,26 @@ +<?php +// $Id$ + +/** + * @file + * Install, update and uninstall functions for the rdf module. + */ + +/** + * Implement hook_install(). + */ +function rdf_test_install() { + $rdf_mappings = array( + array( + 'type' => 'node', + 'bundle' => 'test_bundle_hook_install', + 'mapping' => array( + 'rdftype' => array('foo:mapping_install1', 'bar:mapping_install2'), + ), + ), + ); + + foreach ($rdf_mappings as $rdf_mapping) { + rdf_save_mapping($rdf_mapping); + } +} |