You are here

public function ThemeSettings::__construct in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Theme/ThemeSettings.php \Drupal\Core\Theme\ThemeSettings::__construct()

Constructs a theme settings object.

Parameters

string $theme: The name of the theme settings object being constructed.

File

core/lib/Drupal/Core/Theme/ThemeSettings.php, line 36
Contains \Drupal\Core\Theme\ThemeSettings.

Class

ThemeSettings
Provides a configuration API wrapper for runtime merged theme settings.

Namespace

Drupal\Core\Theme

Code

public function __construct($theme) {
  $this->theme = $theme;
}