1 number.module number_field_widget_error($element, $error, $form, &$form_state)

Implements hook_field_widget_error().

File

core/modules/field/modules/number/number.module, line 451
Defines numeric field types.

Code

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