diff --git a/src/ProjectBrowserServiceProvider.php b/src/ProjectBrowserServiceProvider.php index 9432772951387caef57942ce60085fcda092d628..fe3c1c0c8d4dec80e213333c91fac7ab4dddfdbe 100644 --- a/src/ProjectBrowserServiceProvider.php +++ b/src/ProjectBrowserServiceProvider.php @@ -9,7 +9,7 @@ use Drupal\Core\DependencyInjection\ServiceProviderBase; use Drupal\Core\Extension\ModuleExtensionList; use Drupal\Core\Extension\ModuleHandlerInterface; use Drupal\Core\Extension\ThemeExtensionList; -use Drupal\Core\File\FileSystemInterface; +use Drupal\Core\Queue\QueueInterface; use Drupal\Core\PrivateKey; use Drupal\Core\Queue\QueueFactory; use Drupal\Core\State\StateInterface; @@ -41,7 +41,7 @@ class ProjectBrowserServiceProvider extends ServiceProviderBase { new Reference(BeginnerInterface::class), new Reference(StagerInterface::class), new Reference(CommitterInterface::class), - new Reference('file_system'), + new Reference('queue'), new Reference('event_dispatcher'), new Reference('tempstore.shared'), new Reference('datetime.time'), @@ -74,7 +74,7 @@ class ProjectBrowserServiceProvider extends ServiceProviderBase { // https://www.drupal.org/i/3349193. $autowire_aliases = [ ConfigFactoryInterface::class => 'config.factory', - FileSystemInterface::class => 'file_system', + QueueInterface::class => 'queue', ModuleHandlerInterface::class => 'module_handler', StateInterface::class => 'state', ModuleExtensionList::class => 'extension.list.module',