You are here

function blockreference_field_widget_error in Block reference 7

Implements hook_field_widget_error().

File

./blockreference.module, line 478
Defines a field type for referencing a block from a node.

Code

function blockreference_field_widget_error($element, $error, $form, &$form_state) {
  form_error($element['bid'], $error['message']);
}