You are here

public static function FormBase::submitForm in Express 8

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

File

themes/contrib/bootstrap/src/Plugin/Form/FormBase.php, line 35
Contains \Drupal\bootstrap\Plugin\Form\FormBase.

Class

FormBase
Base form alter class.

Namespace

Drupal\bootstrap\Plugin\Form

Code

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