You are here

function bean_uuid_entity_info_alter in Bean (for Drupal 7) 7

Implements hook_entity_info_alter().

File

bean_uuid/bean_uuid.module, line 11
Implement UUID/Entity hooks for integrating with deploy and other modules.

Code

function bean_uuid_entity_info_alter(&$entity_info) {

  // Set the properties bellow for bean entity so UUIDs get created on sync.
  $entity_info['bean']['uuid'] = TRUE;
  $entity_info['bean']['entity keys']['uuid'] = 'uuid';
  $entity_info['bean']['entity keys']['revision uuid'] = 'vuuid';
}