You are here

function dblog_logging_settings_submit in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/dblog/dblog.module \dblog_logging_settings_submit()
  2. 10 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 119
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();
}