function commerce_paypal_checkout_disable_funding_validate in Commerce PayPal 7.2
Element validate callback for the disable_funding payment method setting.
1 string reference to 'commerce_paypal_checkout_disable_funding_validate'
- commerce_paypal_checkout_settings_form in modules/
checkout/ commerce_paypal_checkout.module - Payment method callback: settings form.
File
- modules/
checkout/ commerce_paypal_checkout.module, line 469 - Implements PayPal Checkout in Drupal Commerce checkout.
Code
function commerce_paypal_checkout_disable_funding_validate($element, &$form_state, $form) {
form_set_value($element, array_filter($element['#value']), $form_state);
}