1 entityreference.module entityreference_field_widget_error($element, $error)

Implements hook_field_widget_error().

File

core/modules/entityreference/entityreference.module, line 959
Entityreference primary module file.

Code

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