ParamConversionEnhancer::applies

public ParamConversionEnhancer::applies(Route $route)

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.

Overrides RouteEnhancerInterface::applies

File

core/lib/Drupal/Core/Routing/Enhancer/ParamConversionEnhancer.php, line 95

Class

ParamConversionEnhancer
Provides a route enhancer that handles parameter conversion.

Namespace

Drupal\Core\Routing\Enhancer

Code

public function applies(Route $route) {
  return TRUE;
}
doc_Drupal
2016-10-29 09:33:06
Comments
Leave a Comment

Please login to continue.