diff --git a/core/modules/system/tests/modules/entity_test/lib/Drupal/entity_test/EntityTestSubscriber.php b/core/modules/system/tests/modules/entity_test/lib/Drupal/entity_test/EntityTestSubscriber.php index d3e942d..2fac2d5 100644 --- a/core/modules/system/tests/modules/entity_test/lib/Drupal/entity_test/EntityTestSubscriber.php +++ b/core/modules/system/tests/modules/entity_test/lib/Drupal/entity_test/EntityTestSubscriber.php @@ -38,12 +38,12 @@ public function createEntityTestRoutes(RouteBuildEvent $event) { foreach (entity_test_entity_types() as $entity_type) { $route = new Route('/' . $entity_type . '/add', array( '_content' => '\Drupal\entity_test\Controller\EntityTest::add',), array( - '_access' => 'administer entity_test content', + '_permission' => 'administer entity_test content', )); $collection->add('entity_test_add_' . $entity_type, $route); $route = new Route('/' . $entity_type . '/manage/{entity}', array( '_content' => '\Drupal\entity_test\Controller\EntityTest::edit',), array( - '_access' => 'administer entity_test content', + '_permission' => 'administer entity_test content', )); $collection->add('entity_test_edit_' . $entity_type, $route); }