1 email.module email_field_widget_error($element, $error, $form, &$form_state)

Implements hook_field_widget_error().

File

core/modules/email/email.module, line 42
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']);
}