You are here

public function RouteSubscriber::reset in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views/src/EventSubscriber/RouteSubscriber.php \Drupal\views\EventSubscriber\RouteSubscriber::reset()
  2. 9 core/modules/views/src/EventSubscriber/RouteSubscriber.php \Drupal\views\EventSubscriber\RouteSubscriber::reset()

Resets the internal state of the route subscriber.

File

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

Class

RouteSubscriber
Builds up the routes of all views.

Namespace

Drupal\views\EventSubscriber

Code

public function reset() {
  $this->viewsDisplayPairs = NULL;
}