diff --git a/src/Form/ColorboxSettingsForm.php b/src/Form/ColorboxSettingsForm.php index 161a9a6ee0467523154160479bc02a4eb7f5c4d3..56a634264d9d3052e9f36d602fbab3df2f600443 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.'),