public function EntityReferenceInstanceBehaviorExample::load in Entity reference 7
Act on loading entity reference fields of entities.
Overrides EntityReference_BehaviorHandler_Abstract::load
See also
File
- examples/
entityreference_behavior_example/ plugins/ behavior/ EntityReferenceInstanceBehaviorExample.class.php, line 5
Class
Code
public function load($entity_type, $entities, $field, $instances, $langcode, &$items) {
drupal_set_message(t('Do something on load, on the instance level!'));
}