Skip to content

Commit

Permalink
Set default value for the debug_mode option
Browse files Browse the repository at this point in the history
- Fixes #100
  • Loading branch information
jhedstrom committed Jun 20, 2017
1 parent 48608e4 commit 5e84b73
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Form/MessageSubscribeAdminSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {
'#type' => 'checkbox',
'#title' => $this->t('Enable debugging mode'),
'#description' => $this->t('Enables verbose logging of subscription activities for debugging purposes. <strong>This should not be enabled in a production environment.</strong>'),
'#default_value' => $config->get('debug_mode'),
];

return parent::buildForm($form, $form_state);
Expand Down

0 comments on commit 5e84b73

Please sign in to comment.