function public static function FormBase::submitForm

8.x-3.x FormBase.php public static FormBase::submitForm(array &$form, FormStateInterface $form_state)

Form submission 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 FormInterface::submitForm

Class

FormBase
Base form alter class.

Namespace

Drupal\bootstrap\Plugin\Form

Source src/Plugin/Form/FormBase.php (line 31)

public static function submitForm(array &$form, FormStateInterface $form_state) {
  static::submitFormElement(Element::create($form), $form_state);
}