You are here

function date_field_update in Date 8

Same name and namespace in other branches
  1. 7.3 date.field.inc \date_field_update()
  2. 7 date.field.inc \date_field_update()
  3. 7.2 date.field.inc \date_field_update()

Implements hook_field_update().

File

./date.field.inc, line 176
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,
  );
  drupal_alter('date_field_update', $items, $context);
}