public function FormModeManagerRolesForm::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_user_roles_assign/ src/ Form/ FormModeManagerRolesForm.php, line 150
Class
- FormModeManagerRolesForm
- Configure Form for Form Mode Manager Role Assign settings.
Namespace
Drupal\form_mode_user_roles_assign\FormCode
public function submitForm(array &$form, FormStateInterface $form_state) {
parent::submitForm($form, $form_state);
$this->cacheTagsInvalidator
->invalidateTags([
'roles',
'rendered',
]);
}