You are here

public function FormModeManagerLinksForm::submitForm in Form mode manager 8.2

Same name and namespace in other branches
  1. 8 src/Form/FormModeManagerLinksForm.php \Drupal\form_mode_manager\Form\FormModeManagerLinksForm::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 FormModeManagerFormBase::submitForm

File

src/Form/FormModeManagerLinksForm.php, line 124

Class

FormModeManagerLinksForm
Configure Form Mode Manager links.

Namespace

Drupal\form_mode_manager\Form

Code

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