diff --git a/core/lib/Drupal/Core/Entity/EntityDefaultsOperationsController.php b/core/lib/Drupal/Core/Entity/EntityDefaultsOperationsController.php index d0fde76..91567b7 100644 --- a/core/lib/Drupal/Core/Entity/EntityDefaultsOperationsController.php +++ b/core/lib/Drupal/Core/Entity/EntityDefaultsOperationsController.php @@ -76,13 +76,10 @@ class EntityDefaultsOperationsController implements EntityOperationsControllerIn * @param \Drupal\Core\Access\AccessManager $access_manager * The access manager */ - public function __construct($entity_type, ModuleHandlerInterface $module_handler, RouteProviderInterface $route_provider, DynamicRouter $router, AccessManager $access_manager) { + public function __construct($entity_type, ModuleHandlerInterface $module_handler) { $this->entityType = $entity_type; $this->entityInfo = entity_get_info($entity_type); $this->moduleHandler = $module_handler; - $this->routeProvider = $route_provider; - $this->accessManager = $access_manager; - $this->router = $router; } /**