class ThemeSettings

Provides a configuration API wrapper for runtime merged theme settings.

This is a wrapper around theme_get_setting() since it does not inherit base theme config nor handle default/overridden values very well.


  • class \Drupal\bootstrap\ThemeSettings extends \Drupal\Core\Config\Config

Expanded class hierarchy of ThemeSettings

Related topics




Contains filters are case sensitive
Name Modifiers Type Description
ThemeSettings::$defaults protected property The default settings.
ThemeSettings::$deprecated protected property A list of deprecated settings, keyed by the newer setting name.
ThemeSettings::$settings protected property A list of available Setting plugins.
ThemeSettings::$theme protected property The current theme object.
ThemeSettings::get public function
ThemeSettings::getCacheTags public function
ThemeSettings::getDeprecatedValue protected function Retrieves a deprecated value from other setting(s).
ThemeSettings::getOriginal public function
ThemeSettings::getThemeConfig public function Retrieves a specific theme's stored config settings.
ThemeSettings::overridesValue public function Determines if a setting overrides the default value.
ThemeSettings::save public function
ThemeSettings::__construct public function