Skip to content
Snippets Groups Projects
Commit 04246cf0 authored by Daniel Wehner's avatar Daniel Wehner
Browse files

fix nitpicks

parent 407c5aef
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,6 @@ services:
tags:
- { name: route_enhancer, priority: 20 }
access_checker.entity_revision:
class: \Drupal\entity\Access\EntityRevisionRouteAccessChecker
arguments: ['@entity_type.manager']
......
......@@ -23,7 +23,6 @@ class RevisionRouteProvider implements EntityRouteProviderInterface {
public function getRoutes(EntityTypeInterface $entity_type) {
$collection = new RouteCollection();
$entity_type_id = $entity_type->id();
if ($view_route = $this->getRevisionViewRoute($entity_type)) {
$collection->add("entity.$entity_type_id.revision", $view_route);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment