You are here

public function CacheExampleForm::submitForm in Examples for Developers 8

Same name and namespace in other branches
  1. 3.x modules/cache_example/src/Form/CacheExampleForm.php \Drupal\cache_example\Form\CacheExampleForm::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

cache_example/src/Form/CacheExampleForm.php, line 291

Class

CacheExampleForm
Form with examples on how to use cache.

Namespace

Drupal\cache_example\Form

Code

public function submitForm(array &$form, FormStateInterface $form_state) {
}