function Settings::__construct
Same name in other branches
- 9 core/lib/Drupal/Core/Site/Settings.php \Drupal\Core\Site\Settings::__construct()
- 10 core/lib/Drupal/Core/Site/Settings.php \Drupal\Core\Site\Settings::__construct()
- 11.x 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 35
Class
- Settings
- Read only settings that are initialized with the class.
Namespace
Drupal\Core\SiteCode
public function __construct(array $settings) {
$this->storage = $settings;
self::$instance = $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.