function options_field_widget_error

Implements hook_field_widget_error().

File

modules/field/modules/options/options.module, line 394

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.