function 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);
}

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