You are here

function cshs_field_widget_error in Client-side Hierarchical Select 7

Implements hook_field_widget_error().

File

./cshs.module, line 179
A simple clientside hierarchical select widget for taxonomy terms.

Code

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