You are here

public function Tour::getRoutes in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/tour/src/Entity/Tour.php \Drupal\tour\Entity\Tour::getRoutes()
  2. 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\Entity

Code

public function getRoutes() {
  return $this->routes;
}