Issue #2392815 by alexpott, pooja saraah, bircher, cilefen, pratik_specbee,...
Issue #2392815 by alexpott, pooja saraah, bircher, cilefen, pratik_specbee, catch, fago: Module uninstall validators are not used to validate a config import
(cherry picked from commit 7fbc4c4b)
@@ -150,6 +169,16 @@ protected function validateModules(ConfigImporter $config_importer) {
$config_importer->logError($this->t('Unable to uninstall the %module module since the %dependent_module module is installed.',['%module'=>$module_name,'%dependent_module'=>$dependent_module_name]));
$config_importer->logError($this->t('Unable to install the %theme theme since it requires the %required_theme theme.',['%theme'=>$theme_name,'%required_theme'=>$required_theme_name]));
$config_importer->logError($this->t('Unable to install the %theme theme since it requires the %required_module module.',['%theme'=>$theme_name,'%required_module'=>$required_module_name]));
}
}
}
// Ensure that all themes being uninstalled are not required by themes that