public function SettingInterface::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
See also
\Drupal\bootstrap\Plugin\Setting\SettingBase::drupalSettings()
1 method overrides SettingInterface::drupalSettings()
- SettingBase::drupalSettings in themes/
contrib/ bootstrap/ src/ Plugin/ Setting/ SettingBase.php - Determines whether a theme setting should added to drupalSettings.
File
- themes/
contrib/ bootstrap/ src/ Plugin/ Setting/ SettingInterface.php, line 32 - Contains \Drupal\bootstrap\Plugin\Setting\SettingInterface.
Class
- SettingInterface
- Defines the interface for an object oriented theme setting plugin.
Namespace
Drupal\bootstrap\Plugin\SettingCode
public function drupalSettings();