Returns the settings instance.
A singleton is used because this class is used before the container is
available.
Return value
\Drupal\Component\Utility\Settings
File
- drupal/core/lib/Drupal/Component/Utility/Settings.php, line 37
- Contains \Drupal\Component\Utility\Settings.
Class
- Settings
- Read only settings that are initialized with the class.
Namespace
Drupal\Component\Utility
Code
public static function getSingleton() {
return self::$instance;
}