You are here

public function Settings::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Site/Settings.php \Drupal\Core\Site\Settings::__construct()

Constructor.

Parameters

array $settings: Array with the settings.

File

core/lib/Drupal/Core/Site/Settings.php, line 40
Contains \Drupal\Core\Site\Settings.

Class

Settings
Read only settings that are initialized with the class.

Namespace

Drupal\Core\Site

Code

public function __construct(array $settings) {
  $this->storage = $settings;
  self::$instance = $this;
}