public function Tour::resetKeyedRoutes in Drupal 10
Same name and namespace in other branches
- 8 core/modules/tour/src/Entity/Tour.php \Drupal\tour\Entity\Tour::resetKeyedRoutes()
- 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\EntityCode
public function resetKeyedRoutes() {
unset($this->keyedRoutes);
}