Skip to content
Snippets Groups Projects
Commit 0f053de5 authored by Tim Rohaly's avatar Tim Rohaly
Browse files

Issue #3104001 by TR: Add description to RulesSettings form

parent a5584099
No related branches found
No related tags found
No related merge requests found
...@@ -71,6 +71,9 @@ class RulesSettingsForm extends ConfigFormBase { ...@@ -71,6 +71,9 @@ class RulesSettingsForm extends ConfigFormBase {
$form['debug_log']['settings']['system_debug'] = [ $form['debug_log']['settings']['system_debug'] = [
'#type' => 'checkbox', '#type' => 'checkbox',
'#title' => $this->t('Also log debug information to the system log'), '#title' => $this->t('Also log debug information to the system log'),
'#description' => $this->t('Write a copy of the debug information to the system database log. This will be visible for users having the permission %permission.', [
'%permission' => Link::createFromRoute('View site reports', 'user.admin_permissions', [], ['fragment' => 'module-system'])->toString(),
]),
'#default_value' => $config->get('debug_log.system_debug'), '#default_value' => $config->get('debug_log.system_debug'),
]; ];
$form['debug_log']['settings']['log_level'] = [ $form['debug_log']['settings']['log_level'] = [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment