1 date.module date_field_widget_error($element, $error, $form, &$form_state)

Implements hook_field_widget_error().

File

core/modules/date/date.module, line 504
Defines date/time field types.

Code

function date_field_widget_error($element, $error, $form, &$form_state) {
  form_error($element[$error['error']], $error['message']);
}