8.x-3.x SettingBase.php |
public SettingBase::drupalSettings() |
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
Class
- SettingBase
- Base class for a setting.
Namespace
Drupal\bootstrap\Plugin\Setting
Source src/Plugin/Setting/SettingBase.php (line 57)
public function drupalSettings() {
return FALSE;
}