You are here

public function PaymentMethodFormBase::validateConfigurationForm in Commerce Core 8.2

Form validation 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 PluginFormBase::validateConfigurationForm

2 calls to PaymentMethodFormBase::validateConfigurationForm()
PaymentMethodAddForm::validateConfigurationForm in modules/payment/src/PluginForm/PaymentMethodAddForm.php
Form validation handler.
PaymentMethodEditForm::validateConfigurationForm in modules/payment/src/PluginForm/PaymentMethodEditForm.php
Form validation handler.
2 methods override PaymentMethodFormBase::validateConfigurationForm()
PaymentMethodAddForm::validateConfigurationForm in modules/payment/src/PluginForm/PaymentMethodAddForm.php
Form validation handler.
PaymentMethodEditForm::validateConfigurationForm in modules/payment/src/PluginForm/PaymentMethodEditForm.php
Form validation handler.

File

modules/payment/src/PluginForm/PaymentMethodFormBase.php, line 114

Class

PaymentMethodFormBase

Namespace

Drupal\commerce_payment\PluginForm

Code

public function validateConfigurationForm(array &$form, FormStateInterface $form_state) {
}