Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Settings.php

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.',
    ],
];

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal