EntityRevisionRouteEnhancer

Adds _entity_revision to the request attributes, if possible.

Hierarchy

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
doc_Drupal
2016-10-29 09:07:31
Comments
Leave a Comment

Please login to continue.