function title_entity_sync_static_reset in Title 7
Reset the list of entities whose fields have already been synchronized.
Parameters
$entity_type: The name of the entity type.
$entity_ids: Either an array of entity IDs to reset or NULL to reset all.
2 calls to title_entity_sync_static_reset()
- title_entitycache_reset in ./
title.module - Implements hook_entitycache_reset().
- title_field_attach_load in ./
title.module - Implements hook_field_attach_load().
File
- ./
title.module, line 469
Code
function title_entity_sync_static_reset($entity_type, $entity_ids = NULL) {
$sync =& drupal_static('title_entity_sync', array());
if (is_array($entity_ids)) {
foreach ($entity_ids as $id) {
unset($sync[$entity_type][$id]);
}
}
else {
unset($sync[$entity_type]);
}
}