public function removeModuleConfigs(array $module_configs) {
    $module_configs_filtered = array_filter($module_configs, [$this, 'filterConfigsList']);
    if (empty($module_configs_filtered)) {
      return;
    }
    foreach ($module_configs_filtered as $config) {
      $this->configFactory->getEditable($config)->delete();
    }
  }