W3cubDocs

/Drupal 8

public function ThemeSettings::__construct

public ThemeSettings::__construct($theme)

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 31

Class

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

Namespace

Drupal\Core\Theme

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Theme!ThemeSettings.php/function/ThemeSettings::__construct/8.1.x