You are here

function field_test_field_widget_error in SimpleTest 7

Implement hook_field_widget_error().

File

tests/field_test.module, line 533

Code

function field_test_field_widget_error($element, $error) {
  form_error($element['value'], $error['message']);
}