You are here

function file_entity_uuid_load in Universally Unique IDentifier 7

Implements hook_entity_uuid_load().

Related topics

File

./uuid.core.inc, line 161
Implementation of UUID hooks for all core modules.

Code

function file_entity_uuid_load(&$entities, $entity_type) {
  if ($entity_type == 'file') {
    entity_property_id_to_uuid($entities, 'user', 'uid');
  }
}