You are here

public function PaymentMethodForm::validateForm in Ubercart 8.4

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

payment/uc_payment/src/Form/PaymentMethodForm.php, line 75

Class

PaymentMethodForm
Provides form for block instance forms.

Namespace

Drupal\uc_payment\Form

Code

public function validateForm(array &$form, FormStateInterface $form_state) {
  parent::validateForm($form, $form_state);
  $this->plugin
    ->validateConfigurationForm($form['settings'], $form_state);
}