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

Act before deleting an entity with an entity reference field.

Overrides EntityReferenceBehaviorHandlerInterface::delete

See also

hook_field_delete()

File

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

Class

EntityReferenceBehaviorHandler
An abstract implementation of EntityReferenceBehaviorHandlerInterface.

Code

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