function metatag_config_delete in Metatag 7
Delete a metatag configuration record.
3 calls to metatag_config_delete()
- metatag_config_delete_form_submit in ./
metatag.admin.inc - Form API submission callback for metatag_config_delete_form().
- metatag_field_attach_delete_bundle in ./
metatag.module - Implements hook_field_attach_delete_bundle().
- metatag_field_attach_rename_bundle in ./
metatag.module - Implements hook_field_attach_rename_bundle().
1 string reference to 'metatag_config_delete'
- metatag_hook_info in ./
metatag.module - Implements hook_hook_info().
File
- ./
metatag.module, line 553 - Primary hook implementations for Metatag.
Code
function metatag_config_delete($config) {
db_delete('metatag_config')
->condition('instance', $config->instance)
->execute();
// Allow modules to act upon the record deletion using
// hook_metatag_config_delete().
module_invoke_all('metatag_config_delete', $config);
// Clear any caches.
metatag_config_cache_clear();
}