function FieldUiRouteEnhancer::applies

1 call to FieldUiRouteEnhancer::applies()
FieldUiRouteEnhancer::enhance in core/modules/field_ui/src/Routing/FieldUiRouteEnhancer.php

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\Routing

Code

protected function applies(Route $route) {
    return $route->hasOption('_field_ui');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.