You are here

public function ProductVariationTypeForm::validateForm in Commerce Core 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/product/src/Form/ProductVariationTypeForm.php, line 163

Class

ProductVariationTypeForm

Namespace

Drupal\commerce_product\Form

Code

public function validateForm(array &$form, FormStateInterface $form_state) {
  $this
    ->validateTraitForm($form, $form_state);
}