function FileSystemForm::submitForm
Overrides ConfigFormBase::submitForm
File
- 
              core/modules/ system/ src/ Form/ FileSystemForm.php, line 152 
Class
- FileSystemForm
- Configure file system settings for this site.
Namespace
Drupal\system\FormCode
public function submitForm(array &$form, FormStateInterface $form_state) {
  $config = $this->config('system.file')
    ->set('temporary_maximum_age', $form_state->getValue('temporary_maximum_age'));
  if ($form_state->hasValue('file_default_scheme')) {
    $config->set('default_scheme', $form_state->getValue('file_default_scheme'));
  }
  $config->save();
  parent::submitForm($form, $form_state);
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
