You are here

function paymentreference_field_widget_error in Payment 7

Implements hook_field_widget_error().

File

modules/paymentreference/paymentreference.module, line 253
Hook implementations and general functions.

Code

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