public function Settings::__construct
public Settings::__construct(array $settings)
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; }
© 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!Site!Settings.php/function/Settings::__construct/8.1.x