function Settings::getAll
Same name in other branches
- 9 core/lib/Drupal/Core/Site/Settings.php \Drupal\Core\Site\Settings::getAll()
- 8.9.x core/lib/Drupal/Core/Site/Settings.php \Drupal\Core\Site\Settings::getAll()
- 11.x core/lib/Drupal/Core/Site/Settings.php \Drupal\Core\Site\Settings::getAll()
Returns all the settings. This is only used for testing purposes.
Return value
array All the settings.
21 calls to Settings::getAll()
- BaseThemeMissingTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ BaseThemeMissingTest.php - ConfigEntityUpdaterTest::testUpdate in core/
tests/ Drupal/ KernelTests/ Core/ Config/ Entity/ ConfigEntityUpdaterTest.php - @covers ::update
- ConfigEntityUpdaterTest::testUpdateDefaultCallback in core/
tests/ Drupal/ KernelTests/ Core/ Config/ Entity/ ConfigEntityUpdaterTest.php - @covers ::update
- FieldableEntityDefinitionUpdateTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ FieldableEntityDefinitionUpdateTest.php - FieldableEntityDefinitionUpdateTest::testFieldableEntityTypeUpdatesRemoveBackupTables in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ FieldableEntityDefinitionUpdateTest.php - Tests the removal of the backup tables after a successful update.
File
-
core/
lib/ Drupal/ Core/ Site/ Settings.php, line 124
Class
- Settings
- Read only settings that are initialized with the class.
Namespace
Drupal\Core\SiteCode
public static function getAll() {
return self::$instance->storage;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.