You are here

public function EntityReference_BehaviorHandler_Abstract::insert in Entity reference 7

Act before inserting an entity reference field.

Overrides EntityReference_BehaviorHandler::insert

See also

hook_field_insert()

2 methods override EntityReference_BehaviorHandler_Abstract::insert()
EntityReferenceFieldBehaviorExample::insert in examples/entityreference_behavior_example/plugins/behavior/EntityReferenceFieldBehaviorExample.class.php
Act before inserting an entity reference field.
EntityReferenceInstanceBehaviorExample::insert in examples/entityreference_behavior_example/plugins/behavior/EntityReferenceInstanceBehaviorExample.class.php
Act before inserting an entity reference field.

File

plugins/behavior/abstract.inc, line 179

Class

EntityReference_BehaviorHandler_Abstract
An abstract implementation of EntityReference_BehaviorHandler.

Code

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