public function ParamConversionEnhancer::applies in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Routing/Enhancer/ParamConversionEnhancer.php \Drupal\Core\Routing\Enhancer\ParamConversionEnhancer::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.
Overrides RouteEnhancerInterface::applies
File
- core/
lib/ Drupal/ Core/ Routing/ Enhancer/ ParamConversionEnhancer.php, line 100 - Contains \Drupal\Core\Routing\Enhancer\ParamConversionEnhancer.
Class
- ParamConversionEnhancer
- Provides a route enhancer that handles parameter conversion.
Namespace
Drupal\Core\Routing\EnhancerCode
public function applies(Route $route) {
return TRUE;
}