Commit aadb0571 authored by Matthias Hutterer's avatar Matthias Hutterer
Browse files

Issue #1048540 by jsenich, Narthorn: Fixed Validation error : 'email_invalid()'.

parent 03f7a94d
......@@ -34,6 +34,12 @@ function email_field_validate($obj_type, $object, $field, $instance, $langcode,
}
}
/**
* Implements hook_field_widget_error().
*/
function email_field_widget_error($element, $error, $form, &$form_state) {
form_error($element, $error['message']);
}
/**
* Implements hook_content_is_empty().
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment