Commit 77686a32 authored by RenatoG's avatar RenatoG Committed by RenatoG

Issue #2873921 by RenatoG: Add examples for styles in settings page

parent c1ef365e
......@@ -62,7 +62,7 @@ class ColorboxSettingsForm extends ConfigFormBase {
'#title' => $this->t('Style'),
'#options' => $colorbox_styles,
'#default_value' => $config->get('custom.style'),
'#description' => $this->t('Select the style to use for the Colorbox. The example styles are the ones that come with the Colorbox plugin. Select "None" if you have added Colorbox styles to your theme.'),
'#description' => $this->t('Select the style to use for the Colorbox. The example styles are the ones that come with the Colorbox plugin. Select "None" if you have added Colorbox styles to your theme. <br> <strong>Examples</strong>: <ul><li><a href="/modules/colorbox/images/admin/example_default.png" target="blank">Default</a></li><li><a href="/modules/colorbox/images/admin/example_plain.png" target="blank">Plain</a></li><li><a href="/modules/colorbox/images/admin/example_stockholm_syndrome.png" target="blank">Stockholm Syndrome</a></li><li><a href="/modules/colorbox/images/admin/colorbox_example_1.png" target="blank">Example 1</a></li><li><a href="/modules/colorbox/images/admin/colorbox_example_2.png" target="blank">Example 2</a></li><li><a href="/modules/colorbox/images/admin/colorbox_example_3.png" target="blank">Example 3</a></li><li><a href="/modules/colorbox/images/admin/colorbox_example_4.png" target="blank">Example 4</a></li><li><a href="/modules/colorbox/images/admin/example_none.png" target="blank">None</a></li></ul>'),
];
$form['colorbox_custom_settings']['colorbox_custom_settings_activate'] = [
'#type' => 'radios',
......
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