Same filename in this branch
- 10 core/lib/Drupal/Core/Theme/ThemeSettings.php
- 10 core/modules/system/src/Plugin/migrate/destination/d7/ThemeSettings.php
- 10 core/modules/system/src/Plugin/migrate/source/d7/ThemeSettings.php
Same filename and directory in other branches
- 8.9.x core/lib/Drupal/Core/Theme/ThemeSettings.php
- 9 core/lib/Drupal/Core/Theme/ThemeSettings.php
Namespace
Drupal\Core\Theme
File
core/lib/Drupal/Core/Theme/ThemeSettings.php
View source
<?php
namespace Drupal\Core\Theme;
use Drupal\Core\Config\ConfigBase;
class ThemeSettings extends ConfigBase {
protected $theme;
public function __construct($theme) {
$this->theme = $theme;
}
public function getTheme() {
return $this->theme;
}
public function getCacheTags() {
return [
'rendered',
];
}
}
Classes
Name |
Description |
ThemeSettings |
Provides a configuration API wrapper for runtime merged theme settings. |