You are here

function pathauto_persist_entity_update in Pathauto Persistent State 7

Implements hook_entity_update().

File

./pathauto_persist.module, line 56

Code

function pathauto_persist_entity_update($entity, $type) {
  if (isset($entity->path['pathauto'])) {
    pathauto_persist_entity_state_save($type, $entity, $entity->path['pathauto']);
  }
}