Commit cb3326d7 authored by frjo's avatar frjo

Issue #2868166 by Trobing: Errors on setting page

parent 787d8a82
......@@ -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.'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment