function hook_uuid_sync in Universally Unique IDentifier 7
Ensures all records have a UUID assigned to them.
When called this hook should ensure all records it is responsible for have a UUID and if not create one.
See also
entity_uuid_sync()
1 function implements hook_uuid_sync()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- uuid_uuid_sync in ./
uuid.module - Implements hook_uuid_sync().
1 invocation of hook_uuid_sync()
- uuid_sync_all in ./
uuid.inc - Generate all missing UUIDs.
File
- ./
uuid.api.php, line 16 - Hooks provided by the UUID module.
Code
function hook_uuid_sync() {
// Do what you need to do to generate missing UUIDs for you implementation.
}