1 EntityReferenceBehaviorHandler.inc public EntityReferenceBehaviorHandlerInterface::insert($entity_type, $entity, $field, $instance, $langcode, &$items)

Act before inserting an entity reference field.

See also

hook_field_insert()

File

core/modules/entityreference/plugins/behavior/EntityReferenceBehaviorHandler.inc, line 73

Class

EntityReferenceBehaviorHandlerInterface
Additional behaviors for a Entity Reference field.

Code

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