public static function Settings::getInstance in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Site/Settings.php \Drupal\Core\Site\Settings::getInstance()
Returns the settings instance.
A singleton is used because this class is used before the container is available.
Return value
1 call to Settings::getInstance()
- install_begin_request in core/
includes/ install.core.inc - Begins an installation request, modifying the installation state as needed.
1 string reference to 'Settings::getInstance'
- core.services.yml in core/
core.services.yml - core/core.services.yml
File
- core/
lib/ Drupal/ Core/ Site/ Settings.php, line 53 - Contains \Drupal\Core\Site\Settings.
Class
- Settings
- Read only settings that are initialized with the class.
Namespace
Drupal\Core\SiteCode
public static function getInstance() {
return self::$instance;
}