function hook_pmpapi_push_get_entities_alter in Public Media Platform API Integration 7
Alter information from pmpapi_push_get_entities()
Parameters
array $entities: Entity info being altered.
1 invocation of hook_pmpapi_push_get_entities_alter()
- pmpapi_push_get_entities in pmpapi_push/
pmpapi_push.module - Gets all entity info.
File
- pmpapi_push/
pmpapi_push.api.php, line 15 - Hooks provided by the PMPAPI push module.
Code
function hook_pmpapi_push_get_entities_alter(&$entities) {
// This would, for example, hide all user entities from the admin config form
unset($entities['user']);
}