class PopoverTriggerAutoclose
The "popover_trigger_autoclose" theme setting.
@BootstrapSetting( id = "popover_trigger_autoclose", type = "checkbox", title = @Translation("Auto-close on document click"), description = @Translation("Will automatically close the current popover if a click occurs anywhere else other than the popover element."), defaultValue = 1, groups = { "javascript" = @Translation("JavaScript"), "popovers" = @Translation("Popovers"), "options" = @Translation("Options"), }, )
Hierarchy
- class \Drupal\bootstrap\Plugin\PluginBase extends \Drupal\Core\Plugin\PluginBase
- class \Drupal\bootstrap\Plugin\Setting\SettingBase implements SettingInterface
- class \Drupal\bootstrap\Plugin\Setting\JavaScript\Popovers\PopoverAutoClose
- class \Drupal\bootstrap\Plugin\Setting\JavaScript\Popovers\PopoverTriggerAutoclose implements DeprecatedSettingInterface
- class \Drupal\bootstrap\Plugin\Setting\JavaScript\Popovers\PopoverAutoClose
- class \Drupal\bootstrap\Plugin\Setting\SettingBase implements SettingInterface
Expanded class hierarchy of PopoverTriggerAutoclose
Deprecated
Since 8.x-3.14. Will be removed in a future release.
Related topics
Namespace
Drupal\bootstrap\Plugin\Setting\JavaScript\PopoversMembers
Name | Modifiers | Type | Description |
---|---|---|---|
PluginBase:: |
protected | property | The currently set theme object. |
PluginBase:: |
public | function | |
PopoverAutoClose:: |
public | function |
Determines whether a theme setting should added to drupalSettings. Overrides SettingBase:: |
PopoverTriggerAutoclose:: |
public | function |
The reason for deprecation. Overrides DeprecatedInterface:: |
PopoverTriggerAutoclose:: |
public | function |
The code that replaces the deprecated functionality. Overrides DeprecatedInterface:: |
PopoverTriggerAutoclose:: |
public | function |
The setting that replaces the deprecated setting. Overrides DeprecatedSettingInterface:: |
PopoverTriggerAutoclose:: |
public | function |
The version this was deprecated in. Overrides DeprecatedInterface:: |
SettingBase:: |
public static | property | |
SettingBase:: |
public | function |
Indicates whether a setting is accessible. Overrides SettingInterface:: |
SettingBase:: |
public | function |
The alter method to store the code. Overrides FormInterface:: |
SettingBase:: |
public | function |
The alter method to store the code. Overrides FormInterface:: |
SettingBase:: |
public | function |
Indicates whether a form element should be created automatically. Overrides SettingInterface:: |
SettingBase:: |
public | function |
The cache tags associated with this object. Overrides SettingInterface:: |
SettingBase:: |
public | function |
Retrieves the setting's default value. Overrides SettingInterface:: |
SettingBase:: |
public | function |
Retrieves the setting's description, if any. Overrides SettingInterface:: |
SettingBase:: |
public | function |
Overrides SettingInterface:: |
SettingBase:: |
public | function | Retrieves all the form properties from the setting definition. |
SettingBase:: |
public | function |
Overrides SettingInterface:: |
SettingBase:: |
public | function |
Retrieves the group form element the setting belongs to. Overrides SettingInterface:: |
SettingBase:: |
public | function |
Retrieves the setting's groups. Overrides SettingInterface:: |
SettingBase:: |
public | function |
Retrieves the settings options, if set. Overrides SettingInterface:: |
SettingBase:: |
public | function |
Retrieves the form element for the setting. Overrides SettingInterface:: |
SettingBase:: |
protected | function | Retrieves the setting value used to populate the form. |
SettingBase:: |
public | function |
Retrieves the setting's human-readable title. Overrides SettingInterface:: |
SettingBase:: |
public | function |
Retrieves the value from other deprecated settings. Overrides SettingInterface:: |
SettingBase:: |
public static | function |
Form submission handler. Overrides FormInterface:: |
SettingBase:: |
public static | function |
Form submission handler. Overrides FormInterface:: |
SettingBase:: |
public static | function |
Form validation handler. Overrides FormInterface:: |
SettingBase:: |
public static | function |
Form validation handler. Overrides FormInterface:: |