You are here

public function EntityReference_BehaviorHandler::insert in Entity reference 7

Act before inserting an entity reference field.

See also

hook_field_insert()

1 method overrides EntityReference_BehaviorHandler::insert()
EntityReference_BehaviorHandler_Abstract::insert in plugins/behavior/abstract.inc
Act before inserting an entity reference field.

File

plugins/behavior/abstract.inc, line 73

Class

EntityReference_BehaviorHandler
Additional behaviors for a Entity Reference field.

Code

public function insert($entity_type, $entity, $field, $instance, $langcode, &$items);