function title_field_attach_load in Title 7
Implements hook_field_attach_load().
Synchronization must be performed as early as possible to prevent other code from accessing replaced fields before they get their actual value.
See also
File
- ./
title.module, line 203
Code
function title_field_attach_load($entity_type, $entities, $age, $options) {
// Allow values to re-sync when field_attach_load_revision() is called.
if ($age == FIELD_LOAD_REVISION) {
title_entity_sync_static_reset($entity_type, array_keys($entities));
}
title_entity_load($entities, $entity_type);
}