function options_field_widget_error

7.x options.module options_field_widget_error($element, $error, $form, &$form_state)

Implements hook_field_widget_error().

File

drupal/modules/field/modules/options/options.module, line 386
Defines selection, check box and radio button widgets for text and numeric fields.

Code

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