function 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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.