You are here

public function TourInterface::hasMatchingRoute in Drupal 9

Same name and namespace in other branches
  1. 8 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 31

Class

TourInterface
Provides an interface defining a tour entity.

Namespace

Drupal\tour

Code

public function hasMatchingRoute($route_name, $route_params);