function pathauto_entity_delete in Pathauto 7
Same name and namespace in other branches
- 8 pathauto.module \pathauto_entity_delete()
Implements hook_entity_delete().
File
- ./
pathauto.module, line 431 - Main file for the Pathauto module, which automatically generates aliases for content.
Code
function pathauto_entity_delete($entity, $entity_type) {
if (isset($entity->path['pathauto'])) {
pathauto_entity_state_delete($entity_type, $entity);
}
}