Skip to main content
Drupal API
Menu
User account menu
Log in
Breadcrumb
Drupal Core 11.1.x
EntityBundleRouteEnhancer.php
function EntityBundleRouteEnhancer::applies
1 call to
EntityBundleRouteEnhancer::applies()
EntityBundleRouteEnhancer::enhance
in core/
lib/
Drupal/
Core/
Entity/
Enhancer/
EntityBundleRouteEnhancer.php
Updates the defaults for a route definition based on the request.
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\Enhancer
Code
protected
function
applies
(Route
$route
) {
return
$route
->
hasOption
(
'_field_ui'
); }
RSS feed