You are here

public function PaymentReferenceConfigurationForm::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_reference/src/Plugin/Payment/Type/PaymentReferenceConfigurationForm.php, line 123

Class

PaymentReferenceConfigurationForm
Provides the configuration form for the payment_reference payment type plugin.

Namespace

Drupal\payment_reference\Plugin\Payment\Type

Code

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