RouteSubscriber::$viewRouteNames

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

Stores an array of route names keyed by view_id.display_id.

Type: array

File

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

Class

RouteSubscriber
Builds up the routes of all views.

Namespace

Drupal\views\EventSubscriber

Code

protected $viewRouteNames = [];

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