function metatag_entity_delete in Metatag 7
Implements hook_entity_delete().
File
- ./
metatag.module, line 1121 - Primary hook implementations for Metatag.
Code
function metatag_entity_delete($entity, $entity_type) {
list($entity_id) = entity_extract_ids($entity_type, $entity);
metatag_metatags_delete($entity_type, $entity_id);
}