function pmpapi_push_get_entities in Public Media Platform API Integration 7
Gets all entity info.
Basically a wrapper around entity_get_info(), in case modules want to alter the returned entity info.
Return value
array (Possibly altered) info on all defined entities.
5 calls to pmpapi_push_get_entities()
- pmpapi_permissions_uninstall in pmpapi_permissions/
pmpapi_permissions.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_admin_config_submit in pmpapi_push/
pmpapi_push.admin.inc - Form submission handler for pmpapi_push_admin_config().
- pmpapi_push_admin_config_validate in pmpapi_push/
pmpapi_push.admin.inc - Form validation handler for pmpapi_push_admin_config().
- pmpapi_push_uninstall in pmpapi_push/
pmpapi_push.install - Implements hook_uninstall().
File
- pmpapi_push/
pmpapi_push.module, line 185 - Maps drupal entities to MPM profiles, and pushes them to the PMP API.
Code
function pmpapi_push_get_entities() {
$entities = entity_get_info();
drupal_alter('pmpapi_push_get_entities', $entities);
return $entities;
}