You are here

public function LeafletDemoForm::submitForm in Leaflet More Maps 8

Same name and namespace in other branches
  1. 2.1.x leaflet_demo/src/Form/LeafletDemoForm.php \Drupal\leaflet_demo\Form\LeafletDemoForm::submitForm()

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

leaflet_demo/src/Form/LeafletDemoForm.php, line 69

Class

LeafletDemoForm
Class LeafletDemoForm.

Namespace

Drupal\leaflet_demo\Form

Code

public function submitForm(array &$form, FormStateInterface $form_state) {
  $form_state
    ->setRebuild(TRUE);
}