protected function FieldUiRouteEnhancer::applies in Drupal 9
Same name and namespace in other branches
- 8 core/modules/field_ui/src/Routing/FieldUiRouteEnhancer.php \Drupal\field_ui\Routing\FieldUiRouteEnhancer::applies()
1 call to FieldUiRouteEnhancer::applies()
- FieldUiRouteEnhancer::enhance in core/
modules/ field_ui/ src/ Routing/ FieldUiRouteEnhancer.php - Updates the defaults for a route definition based on the request.
File
- core/
modules/ field_ui/ src/ Routing/ FieldUiRouteEnhancer.php, line 53
Class
- FieldUiRouteEnhancer
- Enhances Field UI routes by adding proper information about the bundle name.
Namespace
Drupal\field_ui\RoutingCode
protected function applies(Route $route) {
return $route
->hasOption('_field_ui');
}