You are here

function email_field_widget_error in Email Field 7

Implements hook_field_widget_error().

File

./email.module, line 54
Module file for the email module, which creates a email address field.

Code

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