function asset_uuid_entity_uuid_presave in Asset 7
Implements hook_entity_uuid_presave().
File
- modules/
asset_uuid/ asset_uuid.module, line 29 - Implement UUID/Entity hooks for integrating with deploy and other modules.
Code
function asset_uuid_entity_uuid_presave(&$entity, $entity_type) {
if ($entity_type == 'asset') {
entity_property_uuid_to_id($entity, 'asset', 'aid');
}
}