You are here

function pmpapi_get_creators in Public Media Platform API Integration 7

Return all PMP creators (who have created 1+ docs)

Return value

array An array of creator name (key) and creator GUID (value)

2 calls to pmpapi_get_creators()
pmpapi_pull_filter_form in pmpapi_pull/pmpapi_pull.pages.inc
Form constructor for the PMPAPI pull search form.
pmpapi_query_tools_admin_config in pmpapi_query_tools/pmpapi_query_tools.admin.inc
Form constructor for the PMPAPI query admin form.

File

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

Code

function pmpapi_get_creators() {
  $creators = array(
    'APM' => '98bf597a-2a6f-446c-9b7e-d8ae60122f0d',
    'NPR' => '6140faf0-fb45-4a95-859a-070037fafa01',
    'NPRDS' => '39b744ba-e132-4ef3-9099-885aef0ff2f1',
    'PBS' => 'fc53c568-e939-4d9c-86ea-c2a2c70f1a99',
    'PRI' => '7a865268-c9de-4b27-a3c1-983adad90921',
    'PRX' => '609a539c-9177-4aa7-acde-c10b77a6a525',
  );
  return $creators;
}