/**
* Get all the configuration which depends on one of the excluded modules.
*
* @return string[]
* An array of configuration names.
*/
private function getDependentConfigNames() { $modules =
$this->
getExcludedModules();
$dependencyManager =
$this->manager->
getConfigDependencyManager();
$config =
[];
// Find all the configuration depending on the excluded modules.
foreach ($modules as $module) { foreach ($dependencyManager->
getDependentEntities('module',
$module) as $dependent) { $config[] =
$dependent->
getConfigDependencyName();
} $config =
array_merge($config,
$this->activeStorage->
listAll($module . '.'
));
} // Find all configuration that depends on the configuration found above.