W3cubDocs

/Drupal 8

public static function Settings::getAll

public static Settings::getAll()

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

Return value

array All the settings.

File

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

Class

Settings
Read only settings that are initialized with the class.

Namespace

Drupal\Core\Site

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Site!Settings.php/function/Settings::getAll/8.1.x