dblog_logging_settings_submit

dblog_logging_settings_submit($form, FormStateInterface $form_state)

Form submission handler for system_logging_settings().

See also

dblog_form_system_logging_settings_alter()

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();
}
doc_Drupal
2016-10-29 09:01:19
Comments
Leave a Comment

Please login to continue.