1 entityreference.module entityreference_field_delete($entity_type, $entity, $field, $instance, $langcode, &$items)

Implements hook_field_delete().

File

core/modules/entityreference/entityreference.module, line 283
Entityreference primary module file.

Code

function entityreference_field_delete($entity_type, $entity, $field, $instance, $langcode, &$items) {
  // Invoke the behaviors.
  foreach (entityreference_get_behavior_handlers($field, $instance) as $handler) {
    $handler->delete($entity_type, $entity, $field, $instance, $langcode, $items);
  }
}