You are here

function pmpapi_get_profile_list in Public Media Platform API Integration 7

Creates a list of all profiles.

Return value

array A list of all profiles; both key and value are profile name.

6 calls to pmpapi_get_profile_list()
pmpapi_pull_admin_config in pmpapi_pull/pmpapi_pull.admin.inc
Form constructor for the PMPAPI pull admin form.
pmpapi_pull_filter_form in pmpapi_pull/pmpapi_pull.pages.inc
Form constructor for the PMPAPI pull search form.
pmpapi_pull_uninstall in pmpapi_pull/pmpapi_pull.install
Implements hook_uninstall().
pmpapi_push_admin_config in pmpapi_push/pmpapi_push.admin.inc
Form constructor for the PMPAPI push admin form.
pmpapi_push_uninstall in pmpapi_push/pmpapi_push.install
Implements hook_uninstall().

... See full list

File

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

Code

function pmpapi_get_profile_list() {
  $info = module_invoke_all('pmpapi_profile_info');
  drupal_alter('pmpapi_profile_info', $info);
  $keys = array_keys($info);
  return array_combine($keys, $keys);
}