You are here

public function FormAlterInterface::alterForm in Commerce License 8.2

Alters the form.

Parameters

array $form: Nested array of form elements that comprises the form.

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

string $form_id: String representing the name of the form itself. Typically this is the name of the function that generated the form.

1 method overrides FormAlterInterface::alterForm()
ProductVariationTypeFormAlter::alterForm in src/FormAlter/ProductVariationTypeFormAlter.php
Alters the form.

File

src/FormAlter/FormAlterInterface.php, line 20

Class

FormAlterInterface

Namespace

Drupal\commerce_license\FormAlter

Code

public function alterForm(array &$form, FormStateInterface $form_state, $form_id = NULL);