function SettingsTest::testGetAll

Same name and namespace in other branches
  1. 11.x core/tests/Drupal/Tests/Core/Site/SettingsTest.php \Drupal\Tests\Core\Site\SettingsTest::testGetAll()
  2. 10 core/tests/Drupal/Tests/Core/Site/SettingsTest.php \Drupal\Tests\Core\Site\SettingsTest::testGetAll()
  3. 9 core/tests/Drupal/Tests/Core/Site/SettingsTest.php \Drupal\Tests\Core\Site\SettingsTest::testGetAll()
  4. 8.9.x core/tests/Drupal/Tests/Core/Site/SettingsTest.php \Drupal\Tests\Core\Site\SettingsTest::testGetAll()

Tests get all.

File

core/tests/Drupal/Tests/Core/Site/SettingsTest.php, line 72

Class

SettingsTest
Tests Drupal\Core\Site\Settings.

Namespace

Drupal\Tests\Core\Site

Code

public function testGetAll() : void {
  $this->assertEquals($this->config, Settings::getAll());
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.