Altering an existing RDF mapping
Last updated on
13 October 2016
Drupal 7 will no longer be supported after January 5, 2025. Learn more and find resources for Drupal 7 sites
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)
Help improve this page
Page status: No known problems
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion
Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.