Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Settings.php

function Settings::getAll

Returns all the settings. This is only used for testing purposes.

Return value

array All the settings.

3 calls to Settings::getAll()
SettingsEditor::rewrite in core/lib/Drupal/Core/Site/SettingsEditor.php
Replaces values in settings.php with values in the submitted array.
system_requirements in core/modules/system/system.install
Implements hook_requirements().
TestRunnerKernel::boot in core/lib/Drupal/Core/Test/TestRunnerKernel.php
Boots the current kernel.

File

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

Class

Settings
Read only settings that are initialized with the class.

Namespace

Drupal\Core\Site

Code

public static function getAll() {
    return self::$instance->storage;
}
RSS feed
Powered by Drupal