1 dblog.module dblog_logging_settings_submit($form, &$form_state)

Form submission handler for system_logging_settings().

See also

dblog_form_system_logging_settings_alter()

File

core/modules/dblog/dblog.module, line 210
System monitoring and logging for administrators.

Code

function dblog_logging_settings_submit($form, &$form_state) {
  config_set('system.core', 'log_row_limit', $form_state['values']['dblog_row_limit']);
  config_set('system.core', 'log_date_format', $form_state['values']['dblog_date_format']);
  config_set('system.core', 'log_max_length', $form_state['values']['dblog_max_length']);
}