public ConfigManager::getConfigEntitiesToChangeOnDependencyRemoval($type, array $names, $dry_run = TRUE)
Lists which config entities to update and delete on removal of a dependency.
Parameters
string $type: The type of dependency being checked. Either 'module', 'theme', 'config' or 'content'.
array $names: The specific names to check. If $type equals 'module' or 'theme' then it should be a list of module names or theme names. In the case of 'config' or 'content' it should be a list of configur