You are here

public function LeafletDemoForm::submitForm in Leaflet More Maps 2.1.x

Same name and namespace in other branches
  1. 8 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);
}