You are here

public function RouteEnhancerInterface::applies in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Routing/Enhancer/RouteEnhancerInterface.php \Drupal\Core\Routing\Enhancer\RouteEnhancerInterface::applies()

Declares if the route enhancer applies to the given route.

Parameters

\Symfony\Component\Routing\Route $route: The route to consider attaching to.

Return value

bool TRUE if the check applies to the passed route, False otherwise.

4 methods override RouteEnhancerInterface::applies()
EntityRouteEnhancer::applies in core/lib/Drupal/Core/Entity/Enhancer/EntityRouteEnhancer.php
Declares if the route enhancer applies to the given route.
FieldUiRouteEnhancer::applies in core/modules/field_ui/src/Routing/FieldUiRouteEnhancer.php
Declares if the route enhancer applies to the given route.
FormRouteEnhancer::applies in core/lib/Drupal/Core/Routing/Enhancer/FormRouteEnhancer.php
Declares if the route enhancer applies to the given route.
ParamConversionEnhancer::applies in core/lib/Drupal/Core/Routing/Enhancer/ParamConversionEnhancer.php
Declares if the route enhancer applies to the given route.

File

core/lib/Drupal/Core/Routing/Enhancer/RouteEnhancerInterface.php, line 27
Contains \Drupal\Core\Routing\Enhancer\RouteEnhancerInterface.

Class

RouteEnhancerInterface
A route enhance service to determine route enhance rules.

Namespace

Drupal\Core\Routing\Enhancer

Code

public function applies(Route $route);