public function FormsHasErrorValueToggle::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 SettingBase::drupalSettings
See also
\Drupal\bootstrap\Plugin\Setting\SettingBase::drupalSettings()
File
- themes/
contrib/ bootstrap/ src/ Plugin/ Setting/ General/ Forms/ FormsHasErrorValueToggle.php, line 35 - Contains \Drupal\bootstrap\Plugin\Setting\General\Forms\FormsHasErrorValueToggle.
Class
- FormsHasErrorValueToggle
- The "forms_has_error_value_toggle" theme setting.
Namespace
Drupal\bootstrap\Plugin\Setting\General\FormsCode
public function drupalSettings() {
return TRUE;
}