function relation_entity_collector_entity_load in Relation 7
Same name and namespace in other branches
- 8.2 relation_entity_collector/relation_entity_collector.module \relation_entity_collector_entity_load()
- 8 relation_entity_collector/relation_entity_collector.module \relation_entity_collector_entity_load()
Implements hook_entity_load().
File
- relation_entity_collector/
relation_entity_collector.module, line 110 - Relation Entity Collector Block.
Code
function relation_entity_collector_entity_load($entities, $type) {
$entities_store =& drupal_static('relation_entities', array());
$entities_store += array(
$type => array(),
);
$entities_store[$type] += $entities;
}