You are here

function node_entity_uuid_load in Universally Unique IDentifier 7

Implements hook_entity_uuid_load().

Related topics

File

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

Code

function node_entity_uuid_load(&$entities, $entity_type) {
  if ($entity_type == 'node') {
    entity_property_id_to_uuid($entities, 'user', array(
      'uid',
      'revision_uid',
    ));
    entity_property_id_to_uuid($entities, 'node', 'tnid');
  }
}