RouteSubscriber::$state

Same name in other branches
  1. 9 core/modules/views/src/EventSubscriber/RouteSubscriber.php \Drupal\views\EventSubscriber\RouteSubscriber::state
  2. 10 core/modules/views/src/EventSubscriber/RouteSubscriber.php \Drupal\views\EventSubscriber\RouteSubscriber::state
  3. 11.x core/modules/views/src/EventSubscriber/RouteSubscriber.php \Drupal\views\EventSubscriber\RouteSubscriber::state

The state key value store.

Type: \Drupal\Core\State\StateInterface

File

core/modules/views/src/EventSubscriber/RouteSubscriber.php, line 45

Class

RouteSubscriber
Builds up the routes of all views.

Namespace

Drupal\views\EventSubscriber

Code

protected $state;

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