You are here

function deploy_uuid_create_uuid in Deploy - Content Staging 6

Standard function to create a unique identifier.

Useful to have in a function in case we decide to change the generation method down the road.

Return value

string UUID

5 calls to deploy_uuid_create_uuid()
deploy_uuid_comment in modules/deploy_uuid/deploy_uuid.module
Implementation of hook_comment(),
deploy_uuid_file_insert in modules/deploy_uuid/deploy_uuid.module
Implementation of hook_file_insert().
deploy_uuid_nodeapi in modules/deploy_uuid/deploy_uuid.module
Implementation of hook_nodeapi(),
deploy_uuid_taxonomy in modules/deploy_uuid/deploy_uuid.module
Implementation of hook_taxonomy().
deploy_uuid_user in modules/deploy_uuid/deploy_uuid.module
Implementation of hook_user().

File

modules/deploy_uuid/deploy_uuid.module, line 383
Deployment UUID management

Code

function deploy_uuid_create_uuid() {
  return uniqid(rand(), TRUE);
}