public function SettingBase::drupalSettings in Express 8
Determines whether a theme setting should added to drupalSettings.
By default, this value will be FALSE unless the method is overridden. This is to ensure that no sensitive information can be potientially leaked.
Return value
bool TRUE or FALSE
Overrides SettingInterface::drupalSettings
See also
\Drupal\bootstrap\Plugin\Setting\SettingBase::drupalSettings()
25 methods override SettingBase::drupalSettings()
- FormsHasErrorValueToggle::drupalSettings in themes/
contrib/ bootstrap/ src/ Plugin/ Setting/ General/ Forms/ FormsHasErrorValueToggle.php - Determines whether a theme setting should added to drupalSettings.
- ModalAnimation::drupalSettings in themes/
contrib/ bootstrap/ src/ Plugin/ Setting/ JavaScript/ Modals/ ModalAnimation.php - Determines whether a theme setting should added to drupalSettings.
- ModalBackdrop::drupalSettings in themes/
contrib/ bootstrap/ src/ Plugin/ Setting/ JavaScript/ Modals/ ModalBackdrop.php - Determines whether a theme setting should added to drupalSettings.
- ModalKeyboard::drupalSettings in themes/
contrib/ bootstrap/ src/ Plugin/ Setting/ JavaScript/ Modals/ ModalKeyboard.php - Determines whether a theme setting should added to drupalSettings.
- ModalShow::drupalSettings in themes/
contrib/ bootstrap/ src/ Plugin/ Setting/ JavaScript/ Modals/ ModalShow.php - Determines whether a theme setting should added to drupalSettings.
File
- themes/
contrib/ bootstrap/ src/ Plugin/ Setting/ SettingBase.php, line 39 - Contains \Drupal\bootstrap\Plugin\Setting\SettingBase.
Class
- SettingBase
- Base class for a setting.
Namespace
Drupal\bootstrap\Plugin\SettingCode
public function drupalSettings() {
return FALSE;
}