You are here

function shs_field_widget_error in Simple hierarchical select 7

Implements hook_field_widget_error().

File

./shs.module, line 421
Provides an additional widget for term fields to create hierarchical selects.

Code

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