You are here

function entityreference_field_widget_error in Entity reference 7

Implements hook_field_widget_error().

File

./entityreference.module, line 992
Entityreference primary module file.

Code

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