function asset_uuid_entity_info_alter in Asset 7
Implements hook_entity_info_alter().
File
- modules/
asset_uuid/ asset_uuid.module, line 11 - Implement UUID/Entity hooks for integrating with deploy and other modules.
Code
function asset_uuid_entity_info_alter(&$entity_info) {
// Set the properties bellow for asset entity so UUIDs get created on sync.
$entity_info['asset']['uuid'] = TRUE;
$entity_info['asset']['entity keys']['uuid'] = 'uuid';
}