function file_system_settings_submit
Form submission handler for file system settings form.
Deprecated
in drupal:11.3.0 and is removed from drupal:12.0.0. Use \Drupal\file\Hook\FileHooks::settingsSubmit() instead.
See also
https://www.drupal.org/node/3534099
File
-
core/
modules/ file/ file.module, line 550
Code
function file_system_settings_submit(array &$form, FormStateInterface $form_state) : void {
@trigger_error(__FUNCTION__ . ' is deprecated in drupal:11.3.0 and is removed from drupal:12.0.0. Use \\Drupal\\file\\Hook\\FileHooks::settingsSubmit() instead. See https://www.drupal.org/node/3534099', E_USER_DEPRECATED);
\Drupal::service(FileFormHooks::class)->settingsSubmit($form, $form_state);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.