Enhances an entity form route with the appropriate controller.
Hierarchy
- class \Drupal\Core\Entity\Enhancer\EntityRouteEnhancer implements RouteEnhancerInterface
File
- core/lib/Drupal/Core/Entity/Enhancer/EntityRouteEnhancer.php, line 13
Namespace
Drupal\Core\Entity\Enhancer
Members
Name | Modifiers | Type | Description |
---|---|---|---|
EntityRouteEnhancer::applies | public | function | Declares if the route enhancer applies to the given route. Overrides RouteEnhancerInterface::applies |
EntityRouteEnhancer::enhance | public | function | Update the defaults based on its own data and the request. Overrides RouteEnhancerInterface::enhance |
EntityRouteEnhancer::enhanceEntityForm | protected | function | Update defaults for entity forms. |
EntityRouteEnhancer::enhanceEntityList | protected | function | Update defaults for an entity list. |
EntityRouteEnhancer::enhanceEntityView | protected | function | Update defaults for an entity view. |
Please login to continue.