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