Last updated February 2, 2011. Created by linclark on November 22, 2009.
Log in to edit this page.
Because RDF mappings are saved to the database on installation, hook_rdf_mapping should only be used in modules that create new bundles.
Otherwise, to alter an existing mapping, use the RDF mapping CRUD API. This consists of the following functions:
- rdf_mapping_load($type, $bundle = RDF_DEFAULT_BUNDLE)
- rdf_mapping_save($mapping)
- rdf_mapping_delete($type, $bundle)