You are here

function date_field_widget_error in Date 7.3

Same name and namespace in other branches
  1. 8 date.module \date_field_widget_error()
  2. 7 date.module \date_field_widget_error()
  3. 7.2 date.module \date_field_widget_error()

Implements hook_field_widget_error().

File

./date.module, line 449

Code

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