You are here

function tablefield_field_widget_error in TableField 7.3

Same name and namespace in other branches
  1. 7 tablefield.module \tablefield_field_widget_error()
  2. 7.2 tablefield.module \tablefield_field_widget_error()

Implements hook_field_widget_error().

File

./tablefield.module, line 541
Provides a set of fields that can be used to store tabular data with a node.

Code

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