Settings::getInstance

public static Settings::getInstance()

Returns the settings instance.

A singleton is used because this class is used before the container is available.

Return value

\Drupal\Core\Site\Settings

File

core/lib/Drupal/Core/Site/Settings.php, line 48

Class

Settings
Read only settings that are initialized with the class.

Namespace

Drupal\Core\Site

Code

public static function getInstance() {
  return self::$instance;
}
doc_Drupal
2016-10-29 09:42:14
Comments
Leave a Comment

Please login to continue.