summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFredrik Jonsson2017-04-10 08:20:37 (GMT)
committerFredrik Jonsson2017-04-10 08:20:37 (GMT)
commitcb3326d783985d2ae1e9ea16fc4a2ce82db4615e (patch)
tree91cb9b1530f5ebaefea81bb209d14e9069ba26ea
parent787d8a82ee3de77c82fd5e673d1488561fd99f3a (diff)
Issue #2868166 by Trobing: Errors on setting page8.x-1.4
-rw-r--r--src/Form/ColorboxSettingsForm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Form/ColorboxSettingsForm.php b/src/Form/ColorboxSettingsForm.php
index 161a9a6..56a6342 100644
--- a/src/Form/ColorboxSettingsForm.php
+++ b/src/Form/ColorboxSettingsForm.php
@@ -171,7 +171,7 @@ class ColorboxSettingsForm extends ConfigFormBase {
'#states' => $this->getState(static::STATE_CUSTOM_SETTINGS),
];
$form['colorbox_custom_settings']['colorbox_returnfocus'] = [
- 'type' => 'checkbox',
+ '#type' => 'checkbox',
'#title' => $this->t('Return focus'),
'#default_value' => $config->get('custom.returnfocus'),
'#description' => $this->t('Return focus when Colorbox exits to the element it was launched from.'),