diff --git a/core/modules/node/lib/Drupal/node/Routing/RouteSubscriber.php b/core/modules/node/lib/Drupal/node/Routing/RouteSubscriber.php index 733b63a..5c9dde6 100644 --- a/core/modules/node/lib/Drupal/node/Routing/RouteSubscriber.php +++ b/core/modules/node/lib/Drupal/node/Routing/RouteSubscriber.php @@ -18,10 +18,10 @@ class RouteSubscriber extends RouteSubscriberBase { /** * {@inheritdoc} */ - protected function alterRoutes(RouteCollection $collection, $provider) { + protected function alterRoutes(RouteCollection $collection) { // As nodes are the primary type of content, the node listing should be - // easily available. In order to do that, override admin/content to not show - // a node listing instead of its child links. + // easily available. In order to do that, override admin/content to show + // a node listing instead of the path's child links. $route = $collection->get('system.admin_content'); if ($route) { $route->setDefaults(array(