function 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.

File

core/lib/Drupal/Core/Routing/Enhancer/RouteEnhancerInterface.php, line 30

Class

RouteEnhancerInterface
A route enhance service to determine route enhance rules.

Namespace

Drupal\Core\Routing\Enhancer

Code

public function applies(Route $route);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.