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

Implements hook_field_update().

File

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

Code

function date_field_update($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_update', $items, $context);
}