You are here

public function Tour::resetKeyedRoutes in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/tour/src/Entity/Tour.php \Drupal\tour\Entity\Tour::resetKeyedRoutes()
  2. 9 core/modules/tour/src/Entity/Tour.php \Drupal\tour\Entity\Tour::resetKeyedRoutes()

Resets the statically cached keyed routes.

Overrides TourInterface::resetKeyedRoutes

File

core/modules/tour/src/Entity/Tour.php, line 170

Class

Tour
Defines the configured tour entity.

Namespace

Drupal\tour\Entity

Code

public function resetKeyedRoutes() {
  unset($this->keyedRoutes);
}