function entity_entity_property_info_alter

7.x entity_entity_property_info_alter(&$entity_info)

Implements hook_entity_property_info_alter().


entity/, line 42
Provides basic entity property info for entities provided via the CRUD API, as well as property info for all entity types defined by core. For that the respective modules/ files are included.


function entity_entity_property_info_alter(&$entity_info) {
  // Add in info for all core entities.
  foreach (_entity_metadata_core_modules() as $module) {
    module_load_include('inc', 'entity', "modules/$");
    if (function_exists($function = "entity_metadata_{$module}_entity_property_info_alter")) {