summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.'),