Version 1
[yaffs-website] / web / themes / contrib / bootstrap / src / Plugin / Setting / General / Buttons / ButtonIconize.php
1 <?php
2 /**
3  * @file
4  * Contains \Drupal\bootstrap\Plugin\Setting\General\Buttons\ButtonIconize.
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_iconize" theme setting.
15  *
16  * @ingroup plugins_setting
17  *
18  * @BootstrapSetting(
19  *   id = "button_iconize",
20  *   type = "checkbox",
21  *   title = @Translation("Iconize Buttons"),
22  *   defaultValue = 1,
23  *   description = @Translation("Adds icons to buttons based on the text value"),
24  *   groups = {
25  *     "general" = @Translation("General"),
26  *     "button" = @Translation("Buttons"),
27  *   },
28  *   see = {
29  *     "http://drupal-bootstrap.org/apis/hook_bootstrap_iconize_text_alter" = @Translation("hook_bootstrap_iconize_text_alter()"),
30  *   },
31  * )
32  */
33 class ButtonIconize extends SettingBase {}