public function RouteEnhancer::applies in Automatic Entity Label 8.2
Same name and namespace in other branches
- 8.3 src/Routing/RouteEnhancer.php \Drupal\auto_entitylabel\Routing\RouteEnhancer::applies()
- 8 src/Routing/RouteEnhancer.php \Drupal\auto_entitylabel\Routing\RouteEnhancer::applies()
1 call to RouteEnhancer::applies()
- RouteEnhancer::enhance in src/
Routing/ RouteEnhancer.php - Update the defaults based on its own data and the request.
File
- src/
Routing/ RouteEnhancer.php, line 57
Class
- RouteEnhancer
- RouteEnhancer Class.
Namespace
Drupal\auto_entitylabel\RoutingCode
public function applies(Route $route) {
return $route
->hasOption('auto_label');
}