You are here

function paymentreference_form_process_paymentreference_validate in Payment 7

Implements form validate callback for paymentreference elements.

1 string reference to 'paymentreference_form_process_paymentreference_validate'
paymentreference_element_info in modules/paymentreference/paymentreference.module
Implements hook_element_info().

File

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

Code

function paymentreference_form_process_paymentreference_validate(array $element, array &$form_state) {
  form_set_value($element, $element['#value'], $form_state);
}