Settings::$deprecatedSettings
Same name in other branches
- 9 core/lib/Drupal/Core/Site/Settings.php \Drupal\Core\Site\Settings::deprecatedSettings
- 11.x 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
File
-
core/
lib/ Drupal/ Core/ Site/ Settings.php, line 40
Class
- Settings
- Read only settings that are initialized with the class.
Namespace
Drupal\Core\SiteCode
private static $deprecatedSettings = [
'block_interest_cohort' => [
'replacement' => '',
'message' => '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.',
],
'yaml_parser_class' => [
'replacement' => '',
'message' => 'The "yaml_parser_class" setting is deprecated in drupal:10.3.0. This setting should be removed from the settings file, since its usage has been removed. See https://www.drupal.org/node/3415489.',
],
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.