interface RouteFilterInterface in Zircon Profile 8
Same name in this branch
- 8 vendor/symfony-cmf/routing/NestedMatcher/RouteFilterInterface.php \Symfony\Cmf\Component\Routing\NestedMatcher\RouteFilterInterface
- 8 core/lib/Drupal/Core/Routing/RouteFilterInterface.php \Drupal\Core\Routing\RouteFilterInterface
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Routing/RouteFilterInterface.php \Drupal\Core\Routing\RouteFilterInterface
A route filter service to filter down the collection of route instances.
Hierarchy
- interface \Symfony\Cmf\Component\Routing\NestedMatcher\RouteFilterInterface
- interface \Drupal\Core\Routing\RouteFilterInterface
Expanded class hierarchy of RouteFilterInterface
All classes that implement RouteFilterInterface
1 file declares its use of RouteFilterInterface
- AcceptHeaderMatcher.php in core/
modules/ system/ tests/ modules/ accept_header_routing_test/ src/ Routing/ AcceptHeaderMatcher.php - Contains \Drupal\accept_header_routing_test\Routing\AcceptHeaderMatcher.
File
- core/
lib/ Drupal/ Core/ Routing/ RouteFilterInterface.php, line 16 - Contains \Drupal\Core\Routing\RouteFilterInterface.
Namespace
Drupal\Core\RoutingView source
interface RouteFilterInterface extends BaseRouteFilterInterface {
/**
* Determines if the route filter applies to the given route.
*
* @param \Symfony\Component\Routing\Route $route
* The route to consider attaching to.
*
* @return bool
* TRUE if the check applies to the passed route, FALSE otherwise.
*/
public function applies(Route $route);
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
RouteFilterInterface:: |
public | function | Determines if the route filter applies to the given route. | 3 |
RouteFilterInterface:: |
public | function | Filters the route collection against a request and returns all matching routes. | 4 |