57824dc3ca274bb7fbc949f704b115fe0cf3dc58
[yaffs-website] / web / themes / contrib / bootstrap / src / Plugin / Setting / General / Forms / FormsSmartDescriptions.php
1 <?php
2 /**
3  * @file
4  * Contains \Drupal\bootstrap\Plugin\Setting\General\Forms\FormsSmartDescriptions.
5  */
6
7 namespace Drupal\bootstrap\Plugin\Setting\General\Forms;
8
9 use Drupal\bootstrap\Annotation\BootstrapSetting;
10 use Drupal\bootstrap\Plugin\Setting\SettingBase;
11 use Drupal\Core\Annotation\Translation;
12
13 /**
14  * The "forms_smart_descriptions" theme setting.
15  *
16  * @ingroup plugins_setting
17  *
18  * @BootstrapSetting(
19  *   id = "forms_smart_descriptions",
20  *   type = "checkbox",
21  *   title = @Translation("Smart form descriptions (via Tooltips)"),
22  *   defaultValue = 1,
23  *   description = @Translation("Convert descriptions into tooltips (must be enabled) automatically based on certain criteria. This helps reduce the, sometimes unnecessary, amount of noise on a page full of form elements."),
24  *   groups = {
25  *     "general" = @Translation("General"),
26  *     "forms" = @Translation("Forms"),
27  *   },
28  * )
29  */
30 class FormsSmartDescriptions extends SettingBase {}