e05dce0062048e59f3ff45104ffb5ec3eedcfd23
[yaffs-website] / web / themes / contrib / bootstrap / src / Plugin / Setting / General / Buttons / ButtonColorize.php
1 <?php
2
3 namespace Drupal\bootstrap\Plugin\Setting\General\Buttons;
4
5 use Drupal\bootstrap\Plugin\Setting\SettingBase;
6
7 /**
8  * The "button_colorize" theme setting.
9  *
10  * @ingroup plugins_setting
11  *
12  * @BootstrapSetting(
13  *   id = "button_colorize",
14  *   type = "checkbox",
15  *   title = @Translation("Colorize Buttons"),
16  *   defaultValue = 1,
17  *   description = @Translation("Adds classes to buttons based on their text value."),
18  *   groups = {
19  *     "general" = @Translation("General"),
20  *     "button" = @Translation("Buttons"),
21  *   },
22  *   see = {
23  *     "https://getbootstrap.com/docs/3.3/css/#buttons" = @Translation("Buttons"),
24  *     "https://drupal-bootstrap.org/apis/hook_bootstrap_colorize_text_alter" = @Translation("hook_bootstrap_colorize_text_alter()"),
25  *   },
26  * )
27  */
28 class ButtonColorize extends SettingBase {}