You are here

function eck_uuid_property_entity_info in Entity Construction Kit (ECK) 7.3

Same name and namespace in other branches
  1. 7.2 plugins/property_behavior/uuid.inc \eck_uuid_property_entity_info()

Connect this entity type to the UUID system through entity_info.

1 string reference to 'eck_uuid_property_entity_info'
uuid.inc in plugins/property_behavior/uuid.inc

File

plugins/property_behavior/uuid.inc, line 19

Code

function eck_uuid_property_entity_info($property, $var) {
  $info = $var;

  // Put UUID into entity keys.
  $info['entity keys']['uuid'] = $property;
  $info['uuid'] = TRUE;
  return $info;
}