Commit 0c69ebfc authored by APolitsin's avatar APolitsin
Browse files

config immport

parent 43ad83fb
......@@ -33,11 +33,6 @@ class DrushConfigImport extends DrushCommands {
if ($cfg) {
$this->output()->writeln("Config: $file");
$data = $source->read($cfg);
if (!is_array($data)) {
$yaml = file_get_contents("$directory/$file");
// $this->output()->writeln("Skip: $yaml");
$data = Yaml::parse($yaml);
}
$config = \Drupal::service('config.factory')->getEditable($cfg);
$config->setData($data)->save();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment