3 namespace Drupal\Core\Theme;
5 use Drupal\Core\Config\ConfigBase;
8 * Provides a configuration API wrapper for runtime merged theme settings.
10 * Theme settings use configuration for base values but the runtime theme
11 * settings are calculated based on various site settings and are therefore
14 * @see theme_get_setting()
16 class ThemeSettings extends ConfigBase {
19 * The theme of the theme settings object.
26 * Constructs a theme settings object.
28 * @param string $theme
29 * The name of the theme settings object being constructed.
31 public function __construct($theme) {
32 $this->theme = $theme;
36 * Returns the theme of this theme settings object.
39 * The theme of this theme settings object.
41 public function getTheme() {
48 public function getCacheTags() {