Settings::$instance
Same name in other branches
- 9 core/lib/Drupal/Core/Site/Settings.php \Drupal\Core\Site\Settings::instance
- 10 core/lib/Drupal/Core/Site/Settings.php \Drupal\Core\Site\Settings::instance
- 11.x core/lib/Drupal/Core/Site/Settings.php \Drupal\Core\Site\Settings::instance
Singleton instance.
Type: \Drupal\Core\Site\Settings
File
-
core/
lib/ Drupal/ Core/ Site/ Settings.php, line 27
Class
- Settings
- Read only settings that are initialized with the class.
Namespace
Drupal\Core\SiteCode
private static $instance = NULL;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.