You are here

function paymentreference_form_process_paymentreference_ajax_callback in Payment 7

Implements form AJAX callback for paymentreference elements.

1 string reference to 'paymentreference_form_process_paymentreference_ajax_callback'
paymentreference_form_process_paymentreference in modules/paymentreference/paymentreference.module
Implements form process callback for paymentreference elements.

File

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

Code

function paymentreference_form_process_paymentreference_ajax_callback(array $form, array &$form_state) {
  return drupal_array_get_nested_value($form, $form_state[$form_state['triggering_element']['#name']]);
}