public function TourInterface::hasMatchingRoute in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/tour/src/TourInterface.php \Drupal\tour\TourInterface::hasMatchingRoute()
Whether the tour matches a given set of route parameters.
Parameters
string $route_name: The route name the parameters are for.
array $route_params: Associative array of raw route params.
Return value
bool TRUE if the tour matches the route parameters.
1 method overrides TourInterface::hasMatchingRoute()
- 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/ TourInterface.php, line 36 - Contains \Drupal\tour\TourInterface.
Class
- TourInterface
- Provides an interface defining a tour entity.
Namespace
Drupal\tourCode
public function hasMatchingRoute($route_name, $route_params);