final class Settings

Read only settings that are initialized with the class.

Hierarchy

  • class \Drupal\Component\Utility\Settings

Expanded class hierarchy of Settings

12 files declare their use of Settings
20 string references to 'Settings'
1 service uses Settings

File

drupal/core/lib/Drupal/Component/Utility/Settings.php, line 13
Contains \Drupal\Component\Utility\Settings.

Namespace

Drupal\Component\Utility
View source

Members

Namesort descending Modifiers Type Description Overrides
Settings::$instance private static property Singleton instance.
Settings::$storage private property Array with the settings.
Settings::get public function Returns a setting.
Settings::getAll public function Returns all the settings. This is only used for testing purposes.
Settings::getSingleton public static function Returns the settings instance.
Settings::__construct function Constructor.