function user_reference_field_widget_error in References 7.2
Implements hook_field_widget_error().
File
- user_reference/
user_reference.module, line 762 - Defines a field type for referencing a user from a node.
Code
function user_reference_field_widget_error($element, $error, $form, &$form_state) {
form_error($element['uid'], $error['message']);
}