FormsSmartDescriptions.php in Express 8
File
themes/contrib/bootstrap/src/Plugin/Setting/General/Forms/FormsSmartDescriptions.phpView source
<?php
/**
* @file
* Contains \Drupal\bootstrap\Plugin\Setting\General\Forms\FormsSmartDescriptions.
*/
namespace Drupal\bootstrap\Plugin\Setting\General\Forms;
use Drupal\bootstrap\Annotation\BootstrapSetting;
use Drupal\bootstrap\Plugin\Setting\SettingBase;
use Drupal\Core\Annotation\Translation;
/**
* The "forms_smart_descriptions" theme setting.
*
* @ingroup plugins_setting
*
* @BootstrapSetting(
* id = "forms_smart_descriptions",
* type = "checkbox",
* title = @Translation("Smart form descriptions (via Tooltips)"),
* defaultValue = 1,
* 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."),
* groups = {
* "general" = @Translation("General"),
* "forms" = @Translation("Forms"),
* },
* )
*/
class FormsSmartDescriptions extends SettingBase {
}
Classes
Name | Description |
---|---|
FormsSmartDescriptions | The "forms_smart_descriptions" theme setting. |