Mercurial > hg > rr-repo
view modules/rdf/tests/rdf_test.install @ 6:a75ead649730
added biblio, admin_menu and reference modules
author | danieleb <danielebarchiesi@me.com> |
---|---|
date | Fri, 20 Sep 2013 11:18:21 +0100 |
parents | ff03f76ab3fe |
children |
line wrap: on
line source
<?php /** * @file * Install, update and uninstall functions for the rdf module. */ /** * Implements 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_mapping_save($rdf_mapping); } }