State::$deprecatedState

Same name and namespace in other branches
  1. 10 core/lib/Drupal/Core/State/State.php \Drupal\Core\State\State::deprecatedState

Information about all deprecated state, keyed by legacy state key.

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

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

Type: array

File

core/lib/Drupal/Core/State/State.php, line 24

Class

State
Provides the state system using a key value store.

Namespace

Drupal\Core\State

Code

private static array $deprecatedState = [];

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