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. 11.x 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 309

Class

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

Namespace

Drupal\Tests\Core\Site

Code

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

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