Settings::$instance

Same name in other branches
  1. 9 core/lib/Drupal/Core/Site/Settings.php \Drupal\Core\Site\Settings::instance
  2. 10 core/lib/Drupal/Core/Site/Settings.php \Drupal\Core\Site\Settings::instance
  3. 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\Site

Code

private static $instance = NULL;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.