function dblog_logging_settings_submit in Drupal 10
Same name and namespace in other branches
- 8 core/modules/dblog/dblog.module \dblog_logging_settings_submit()
- 9 core/modules/dblog/dblog.module \dblog_logging_settings_submit()
Form submission handler for system_logging_settings().
See also
dblog_form_system_logging_settings_alter()
1 string reference to 'dblog_logging_settings_submit'
- dblog_form_system_logging_settings_alter in core/
modules/ dblog/ dblog.module - Implements hook_form_FORM_ID_alter() for system_logging_settings().
File
- core/
modules/ dblog/ dblog.module, line 120 - System monitoring and logging for administrators.
Code
function dblog_logging_settings_submit($form, FormStateInterface $form_state) {
\Drupal::configFactory()
->getEditable('dblog.settings')
->set('row_limit', $form_state
->getValue('dblog_row_limit'))
->save();
}