Version 1
[yaffs-website] / web / themes / contrib / bootstrap / src / Plugin / Setting / General / Buttons / ButtonSize.php
1 <?php
2 /**
3  * @file
4  * Contains \Drupal\bootstrap\Plugin\Setting\General\Buttons\ButtonSize.
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_size" theme setting.
15  *
16  * @ingroup plugins_setting
17  *
18  * @BootstrapSetting(
19  *   id = "button_size",
20  *   type = "select",
21  *   title = @Translation("Default button size"),
22  *   defaultValue = "",
23  *   description = @Translation("Defines the Bootstrap Buttons specific size"),
24  *   empty_option = @Translation("Normal"),
25  *   groups = {
26  *     "general" = @Translation("General"),
27  *     "button" = @Translation("Buttons"),
28  *   },
29  *   options = {
30  *     "btn-xs" = @Translation("Extra Small"),
31  *     "btn-sm" = @Translation("Small"),
32  *     "btn-lg" = @Translation("Large"),
33  *   },
34  * )
35  */
36 class ButtonSize extends SettingBase {}