You are here

function file_field_uuid_load in Universally Unique IDentifier 7

Implements hook_field_uuid_load().

Related topics

1 call to file_field_uuid_load()
image_field_uuid_load in ./uuid.core.inc
Implements hook_field_uuid_load().

File

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

Code

function file_field_uuid_load($entity_type, $entity, $field, $instance, $langcode, &$items) {
  entity_property_id_to_uuid($items, 'file', 'fid');
  entity_property_id_to_uuid($items, 'user', 'uid');
}