You are here

function pmpapi_guid in Public Media Platform API Integration 7

Generates a GUID (UUID v4).

Return value

string A GUID (UUID v4).

2 calls to pmpapi_guid()
PMPAPIWebTestCase::testPmpAPIGetValidGUID in tests/pmpapi.test
Gets a GUID (locally generated from the SDK).
pmpapi_push_entity_presave in pmpapi_push/pmpapi_push.module
Implements hook_entity_presave().

File

./pmpapi.module, line 105
Creates basic calls to the PMP API.

Code

function pmpapi_guid() {
  $pmp = new PMPAPIDrupal();
  $guid = $pmp
    ->guid();
  return $guid;
}