You are here

function synonyms_field_widget_error in Synonyms 7

Implements hook_field_widget_error().

File

./synonyms.module, line 401
Provide synonyms feature for Drupal entities.

Code

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