You are here

public function Tour::resetKeyedRoutes in Drupal 9

Same name and namespace in other branches
  1. 8 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 173

Class

Tour
Defines the configured tour entity.

Namespace

Drupal\tour\Entity

Code

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