You are here

public function FormModeThemeSwitcherForm::submitForm in Form mode manager 8.2

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 FormModeManagerFormBase::submitForm

File

modules/form_mode_theme_switcher/src/Form/FormModeThemeSwitcherForm.php, line 193

Class

FormModeThemeSwitcherForm
Configure Form for Form Mode Manager theme switcher settings.

Namespace

Drupal\form_mode_manager_theme_switcher\Form

Code

public function submitForm(array &$form, FormStateInterface $form_state) {
  parent::submitForm($form, $form_state);
  $this->cacheTagsInvalidator
    ->invalidateTags([
    'rendered',
  ]);
}