You are here

function hook_pmpapi_profile_info_alter in Public Media Platform API Integration 7

Alter PMP profile information provided by modules

Parameters

array $info: Profile info being altered.

See also

pmpapi_get_profile_info()

pmpapi_get_profile_list()

1 function implements hook_pmpapi_profile_info_alter()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

pmpapi_pull_pmpapi_profile_info_alter in pmpapi_pull/pmpapi_pull.module
Implements hook_pmpapi_profile_info_alter().
2 invocations of hook_pmpapi_profile_info_alter()
pmpapi_get_profile_info in ./pmpapi.module
Fetches profile info for a given profile name.
pmpapi_get_profile_list in ./pmpapi.module
Creates a list of all profiles.

File

./pmpapi.api.php, line 45
Hooks provided by the PMPAPI module.

Code

function hook_pmpapi_profile_info_alter(&$info) {
  unset($info['segment']['teaser']);
}