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

Act before deleting an entity with an entity reference field.

See also

hook_field_delete()

File

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

Class

EntityReferenceBehaviorHandlerInterface
Additional behaviors for a Entity Reference field.

Code

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