diff --git a/core/lib/Drupal/Core/Extension/ModuleInstaller.php b/core/lib/Drupal/Core/Extension/ModuleInstaller.php index 2d4d803..55fa687 100644 --- a/core/lib/Drupal/Core/Extension/ModuleInstaller.php +++ b/core/lib/Drupal/Core/Extension/ModuleInstaller.php @@ -432,7 +432,7 @@ protected function updateKernel($module_filenames) { // After rebuilding the container we need to update the injected // dependencies. $container = $this->kernel->getContainer(); - $this->cacheBackend = $container->get('cache.bootstrap'); + $this->moduleHandler = $container->get('module_handler'); } }