public function CreditCardPaymentMethodBase::submitConfigurationForm in Ubercart 8.4
Form submission handler.
Parameters
array $form: An associative array containing the structure of the plugin form as built by static::buildConfigurationForm().
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Calling code should pass on a subform state created through \Drupal\Core\Form\SubformState::createForSubform().
Overrides PaymentMethodPluginBase::submitConfigurationForm
3 calls to CreditCardPaymentMethodBase::submitConfigurationForm()
- AuthorizeNet::submitConfigurationForm in payment/
uc_authorizenet/ src/ Plugin/ Ubercart/ PaymentMethod/ AuthorizeNet.php - Form submission handler.
- PayPalWebsitePaymentsPro::submitConfigurationForm in payment/
uc_paypal/ src/ Plugin/ Ubercart/ PaymentMethod/ PayPalWebsitePaymentsPro.php - Form submission handler.
- TestGateway::submitConfigurationForm in payment/
uc_credit/ src/ Plugin/ Ubercart/ PaymentMethod/ TestGateway.php - Form submission handler.
3 methods override CreditCardPaymentMethodBase::submitConfigurationForm()
- AuthorizeNet::submitConfigurationForm in payment/
uc_authorizenet/ src/ Plugin/ Ubercart/ PaymentMethod/ AuthorizeNet.php - Form submission handler.
- PayPalWebsitePaymentsPro::submitConfigurationForm in payment/
uc_paypal/ src/ Plugin/ Ubercart/ PaymentMethod/ PayPalWebsitePaymentsPro.php - Form submission handler.
- TestGateway::submitConfigurationForm in payment/
uc_credit/ src/ Plugin/ Ubercart/ PaymentMethod/ TestGateway.php - Form submission handler.
File
- payment/
uc_credit/ src/ CreditCardPaymentMethodBase.php, line 113
Class
- CreditCardPaymentMethodBase
- Defines a base credit card payment method plugin implementation.
Namespace
Drupal\uc_creditCode
public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
$this->configuration['txn_type'] = $form_state
->getValue('txn_type');
}