1 date.field.inc date_field_insert($entity_type, $entity, $field, $instance, $langcode, &$items)

Implements hook_field_insert().

File

core/modules/date/date.field.inc, line 473
Field hooks to implement a date field.

Code

function date_field_insert($entity_type, $entity, $field, $instance, $langcode, &$items) {
  $context = array(
    'entity_type' => $entity_type,
    'entity' => $entity,
    'field' => $field,
    'instance' => $instance,
    'langcode' => $langcode,
  );
  backdrop_alter('date_field_insert', $items, $context);
}