comparison core/modules/dblog/dblog.module @ 4:a9cd425dd02b

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:11:55 +0000
parents c75dbcec494b
children 12f9dff5fda9
comparison
equal deleted inserted replaced
3:307d7a7fd348 4:a9cd425dd02b
101 $form['dblog_row_limit'] = [ 101 $form['dblog_row_limit'] = [
102 '#type' => 'select', 102 '#type' => 'select',
103 '#title' => t('Database log messages to keep'), 103 '#title' => t('Database log messages to keep'),
104 '#default_value' => \Drupal::configFactory()->getEditable('dblog.settings')->get('row_limit'), 104 '#default_value' => \Drupal::configFactory()->getEditable('dblog.settings')->get('row_limit'),
105 '#options' => [0 => t('All')] + array_combine($row_limits, $row_limits), 105 '#options' => [0 => t('All')] + array_combine($row_limits, $row_limits),
106 '#description' => t('The maximum number of messages to keep in the database log. Requires a <a href=":cron">cron maintenance task</a>.', [':cron' => \Drupal::url('system.status')]) 106 '#description' => t('The maximum number of messages to keep in the database log. Requires a <a href=":cron">cron maintenance task</a>.', [':cron' => \Drupal::url('system.status')]),
107 ]; 107 ];
108 108
109 $form['#submit'][] = 'dblog_logging_settings_submit'; 109 $form['#submit'][] = 'dblog_logging_settings_submit';
110 } 110 }
111 111