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

Breadcrumb

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

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 = [];
RSS feed
Powered by Drupal