function EntityBundleRouteEnhancer::applies
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/Enhancer/EntityBundleRouteEnhancer.php \Drupal\Core\Entity\Enhancer\EntityBundleRouteEnhancer::applies()
- 10 core/lib/Drupal/Core/Entity/Enhancer/EntityBundleRouteEnhancer.php \Drupal\Core\Entity\Enhancer\EntityBundleRouteEnhancer::applies()
1 call to EntityBundleRouteEnhancer::applies()
- EntityBundleRouteEnhancer::enhance in core/
lib/ Drupal/ Core/ Entity/ Enhancer/ EntityBundleRouteEnhancer.php
File
-
core/
lib/ Drupal/ Core/ Entity/ Enhancer/ EntityBundleRouteEnhancer.php, line 53
Class
- EntityBundleRouteEnhancer
- Sets the bundle parameter for routes with the _field_ui option.
Namespace
Drupal\Core\Entity\EnhancerCode
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.