function SettingsTest::providerTestRealDeprecatedSettings

Same name and namespace in other branches
  1. 11.x 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()
  3. 9 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 305

Class

SettingsTest
Tests Drupal\Core\Site\Settings.

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.