public function SettingsForm::submitForm in Localization client 8
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 ConfigFormBase::submitForm
File
- l10n_client_ui/src/ Form/ SettingsForm.php, line 46 
Class
- SettingsForm
- Settings form for the localization client user interface module.
Namespace
Drupal\l10n_client_ui\FormCode
public function submitForm(array &$form, FormStateInterface $form_state) {
  $this
    ->config('l10n_client_ui.settings')
    ->set('disabled_paths', $form_state
    ->getValue('disabled_paths'))
    ->save();
  parent::submitForm($form, $form_state);
}