protected function FieldUiRouteEnhancer::applies in Drupal 8
Same name and namespace in other branches
- 9 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 - Update the defaults based on its own data and the request.
File
- core/
modules/ field_ui/ src/ Routing/ FieldUiRouteEnhancer.php, line 60
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');
}