You are here

protected function PaymentMethodAddForm::validatePayPalForm in Commerce Core 8.2

Validates the PayPal form.

Parameters

array $element: The PayPal form element.

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

1 call to PaymentMethodAddForm::validatePayPalForm()
PaymentMethodAddForm::validateConfigurationForm in modules/payment/src/PluginForm/PaymentMethodAddForm.php
Form validation handler.

File

modules/payment/src/PluginForm/PaymentMethodAddForm.php, line 249

Class

PaymentMethodAddForm

Namespace

Drupal\commerce_payment\PluginForm

Code

protected function validatePayPalForm(array &$element, FormStateInterface $form_state) {
}