Adds _entity_revision to the request attributes, if possible.
Hierarchy
- class \Drupal\Core\Routing\Enhancer\EntityRevisionRouteEnhancer implements RouteEnhancerInterface
File
- core/lib/Drupal/Core/Routing/Enhancer/EntityRevisionRouteEnhancer.php, line 12
Namespace
Drupal\Core\Routing\Enhancer
Members
Name | Modifiers | Type | Description |
---|---|---|---|
EntityRevisionRouteEnhancer::applies | public | function | Declares if the route enhancer applies to the given route. Overrides RouteEnhancerInterface::applies |
EntityRevisionRouteEnhancer::enhance | public | function | Update the defaults based on its own data and the request. Overrides RouteEnhancerInterface::enhance |
Please login to continue.