You are here

public function QuickForm::submitForm in farmOS 2.x

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

modules/core/quick/src/Form/QuickForm.php, line 123

Class

QuickForm
Form that renders quick forms.

Namespace

Drupal\farm_quick\Form

Code

public function submitForm(array &$form, FormStateInterface $form_state) {
  $this->quickFormManager
    ->createInstance($this->quickFormId)
    ->submitForm($form, $form_state);
}