function Simplest::submitForm

File

modules/ajax_example/src/Form/Simplest.php, line 67

Class

Simplest
A relatively simple AJAX demonstration form.

Namespace

Drupal\ajax_example\Form

Code

public function submitForm(array &$form, FormStateInterface $form_state) {
  // No-op. Our form doesn't need a submit handler, because the form is never
  // submitted. We add the method here so we fulfill FormInterface.
}