diff --git a/src/Command/Config/ImportCommand.php b/src/Command/Config/ImportCommand.php index c5211852d..68d8f210d 100644 --- a/src/Command/Config/ImportCommand.php +++ b/src/Command/Config/ImportCommand.php @@ -141,7 +141,8 @@ private function configImport(StorageComparerInterface $storage_comparer) \Drupal::moduleHandler(), \Drupal::service('module_installer'), \Drupal::service('theme_handler'), - \Drupal::service('string_translation') + \Drupal::service('string_translation'), + \Drupal::service('extension.list.module') ); if ($config_importer->alreadyImporting()) { diff --git a/src/Command/Config/ImportSingleCommand.php b/src/Command/Config/ImportSingleCommand.php index 1c322a20e..ad16b29bc 100644 --- a/src/Command/Config/ImportSingleCommand.php +++ b/src/Command/Config/ImportSingleCommand.php @@ -146,7 +146,8 @@ private function configImport(StorageComparer $storageComparer) \Drupal::moduleHandler(), \Drupal::service('module_installer'), \Drupal::service('theme_handler'), - \Drupal::service('string_translation') + \Drupal::service('string_translation'), + \Drupal::service('extension.list.module') ); if ($configImporter->alreadyImporting()) {