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