function eck_entity_property_info_alter in Entity Construction Kit (ECK) 7
Same name and namespace in other branches
- 7.3 eck.module \eck_entity_property_info_alter()
- 7.2 eck.module \eck_entity_property_info_alter()
Implements hook_entity_property_info_alter().
File
- ./
eck.module, line 58 - ENTITY CONSTRUCTION KIT
Code
function eck_entity_property_info_alter(&$info) {
module_load_include('inc', 'eck', 'eck.entity_type');
// Create property infos for all defined entites.
foreach (eck__entity_type__load() as $entity_type_object) {
eck__entity_type__property_info($info[$entity_type_object->name], $entity_type_object);
}
}