You are here

protected function ConfigHandler::getConfigNames in Update helper 8

Same name and namespace in other branches
  1. 2.x src/ConfigHandler.php \Drupal\update_helper\ConfigHandler::getConfigNames()

Get list of ConfigName instances from list of config names.

Parameters

array $config_list: List of config names (string).

Return value

array List of ConfigName instances crated from string config name.

1 call to ConfigHandler::getConfigNames()
ConfigHandler::generatePatchFile in src/ConfigHandler.php
Generate patch from changed configuration.

File

src/ConfigHandler.php, line 357

Class

ConfigHandler
Configuration handler.

Namespace

Drupal\update_helper

Code

protected function getConfigNames(array $config_list) {
  $config_names = [];
  foreach ($config_list as $config_file) {
    $config_names[] = ConfigName::createByFullName($config_file);
  }
  return $config_names;
}