Settings::$deprecatedSettings

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Site/Settings.php \Drupal\Core\Site\Settings::deprecatedSettings
  2. 10 core/lib/Drupal/Core/Site/Settings.php \Drupal\Core\Site\Settings::deprecatedSettings

Information about all deprecated settings, keyed by legacy settings name.

Each entry should be an array that defines the following keys:

  • 'replacement': The new name for the setting.
  • 'message': The deprecation message to use for trigger_error().

Type: array

See also

self::handleDeprecations()

File

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

Class

Settings
Read only settings that are initialized with the class.

Namespace

Drupal\Core\Site

Code

private static $deprecatedSettings = [
    'state_cache' => [
        'replacement' => '',
        'message' => '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.