You are here

function entityreference_field_load in Entity reference 7

Implements hook_field_load().

File

./entityreference.module, line 223
Entityreference primary module file.

Code

function entityreference_field_load($entity_type, $entities, $field, $instances, $langcode, &$items) {

  // Invoke the behaviors.
  foreach (entityreference_get_behavior_handlers($field) as $handler) {
    $handler
      ->load($entity_type, $entities, $field, $instances, $langcode, $items);
  }
}