You are here

function date_field_presave in Date 7

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

Implements hook_field_presave().

File

./date.field.inc, line 343
Field hooks to implement a date field.

Code

function date_field_presave($entity_type, $entity, $field, $instance, $langcode, &$items) {
  date_field_update($entity_type, $entity, $field, $instance, $langcode, $items);
}