EntityRevisionRouteEnhancer
class EntityRevisionRouteEnhancer implements EnhancerInterface (View source)
Adds _entity_revision to the request attributes, if possible.
Methods
bool
applies(Route $route)
Returns whether the enhancer runs on the current route.
array
enhance(array $defaults, Request $request)
Updates the defaults for a route definition based on the request.
Details
protected bool
applies(Route $route)
Returns whether the enhancer runs on the current route.
array
enhance(array $defaults, Request $request)
Updates the defaults for a route definition based on the request.