function entityreference_field_insert in Entity reference 7
Implements hook_field_insert().
File
- ./
entityreference.module, line 278 - Entityreference primary module file.
Code
function entityreference_field_insert($entity_type, $entity, $field, $instance, $langcode, &$items) {
// Invoke the behaviors.
foreach (entityreference_get_behavior_handlers($field, $instance) as $handler) {
$handler
->insert($entity_type, $entity, $field, $instance, $langcode, $items);
}
}