You are here

function boolean_field_widget_error in Boolean Field 7

Implements hook_field_widget_error().

File

./boolean.module, line 416
Defines boolean field type.

Code

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