Constructor.
Parameters
array $settings:
Array with the settings.
File
- drupal/core/lib/Drupal/Component/Utility/Settings.php, line 47
- Contains \Drupal\Component\Utility\Settings.
Class
- Settings
- Read only settings that are initialized with the class.
Namespace
Drupal\Component\Utility
Code
function __construct(array $settings) {
$this->storage = $settings;
self::$instance = $this;
}