You are here

public static function Settings::getAll in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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.

13 calls to Settings::getAll()
drupal_rewrite_settings in core/includes/install.inc
Replaces values in settings.php with values in the submitted array.
KernelTestBase::bootKernel in core/tests/Drupal/KernelTests/KernelTestBase.php
Bootstraps a kernel for a test.
KernelTestBase::setSetting in core/tests/Drupal/KernelTests/KernelTestBase.php
Sets an in-memory Settings variable.
KernelTestBase::setUp in core/modules/simpletest/src/KernelTestBase.php
Performs setup tasks before each individual test method is run.
PhpStorageFactoryTest::setUp in core/modules/system/tests/src/Kernel/PhpStorage/PhpStorageFactoryTest.php

... See full list

File

core/lib/Drupal/Core/Site/Settings.php, line 95
Contains \Drupal\Core\Site\Settings.

Class

Settings
Read only settings that are initialized with the class.

Namespace

Drupal\Core\Site

Code

public static function getAll() {
  return self::$instance->storage;
}