You are here

public function PaymentFormConfigurationForm::validateForm in Payment 8.2

Form validation handler.

Parameters

array $form: An associative array containing the structure of the form.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

Overrides FormBase::validateForm

File

modules/payment_form/src/Plugin/Payment/Type/PaymentFormConfigurationForm.php, line 120

Class

PaymentFormConfigurationForm
Provides the configuration form for the payment_form payment type plugin.

Namespace

Drupal\payment_form\Plugin\Payment\Type

Code

public function validateForm(array &$form, FormStateInterface $form_state) {
  $this
    ->getPluginSelector($form_state)
    ->validateSelectorForm($form['plugin_selector'], $form_state);
}