You are here

public function EntityReference_BehaviorHandler_Abstract::delete in Entity reference 7

Act before deleting an entity with an entity reference field.

Overrides EntityReference_BehaviorHandler::delete

See also

hook_field_delete()

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

File

plugins/behavior/abstract.inc, line 187

Class

EntityReference_BehaviorHandler_Abstract
An abstract implementation of EntityReference_BehaviorHandler.

Code

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