You are here

public function EntityReference_BehaviorHandler::delete in Entity reference 7

Act before deleting an entity with an entity reference field.

See also

hook_field_delete()

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

File

plugins/behavior/abstract.inc, line 101

Class

EntityReference_BehaviorHandler
Additional behaviors for a Entity Reference field.

Code

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