function date_field_widget_error in Date 7.2
Same name and namespace in other branches
- 8 date.module \date_field_widget_error()
- 7.3 date.module \date_field_widget_error()
- 7 date.module \date_field_widget_error()
Implements hook_field_widget_error().
File
- ./
date.module, line 441
Code
function date_field_widget_error($element, $error, $form, &$form_state) {
form_error($element[$error['error']], $error['message']);
}