public function Tour::getRoutes in Drupal 10
Same name and namespace in other branches
- 8 core/modules/tour/src/Entity/Tour.php \Drupal\tour\Entity\Tour::getRoutes()
- 9 core/modules/tour/src/Entity/Tour.php \Drupal\tour\Entity\Tour::getRoutes()
The routes that this tour will appear on.
Return value
array Returns array of routes for the tour.
Overrides TourInterface::getRoutes
1 call to Tour::getRoutes()
- Tour::hasMatchingRoute in core/
modules/ tour/ src/ Entity/ Tour.php - Whether the tour matches a given set of route parameters.
File
- core/
modules/ tour/ src/ Entity/ Tour.php, line 106
Class
- Tour
- Defines the configured tour entity.
Namespace
Drupal\tour\EntityCode
public function getRoutes() {
return $this->routes;
}