function SettingsTest::providerTestRealDeprecatedSettings

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Core/Site/SettingsTest.php \Drupal\Tests\Core\Site\SettingsTest::providerTestRealDeprecatedSettings()
  2. 10 core/tests/Drupal/Tests/Core/Site/SettingsTest.php \Drupal\Tests\Core\Site\SettingsTest::providerTestRealDeprecatedSettings()

Provides data for testRealDeprecatedSettings().

File

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

Class

SettingsTest
@coversDefaultClass \Drupal\Core\Site\Settings @runTestsInSeparateProcesses @group Site @group #slow

Namespace

Drupal\Tests\Core\Site

Code

public static function providerTestRealDeprecatedSettings() : array {
    return [
        [
            'state_cache',
            'The "state_cache" setting is deprecated in drupal:11.0.0. This setting should be removed from the settings file, since its usage has been removed. See https://www.drupal.org/node/3177901.',
        ],
    ];
}

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