You are here

function dblog_logging_settings_submit in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 115
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();
}