You are here

function term_level_field_widget_error in Term Level Field 7

Implements hook_field_widget_error().

File

./term_level.module, line 355
Field type for referencing terms with a level to an entity.

Code

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