You are here

public function ConfigSplitCommands::splitImport in Configuration Split 8

Same name and namespace in other branches
  1. 2.0.x src/Commands/ConfigSplitCommands.php \Drupal\config_split\Commands\ConfigSplitCommands::splitImport()

Import only config from a split.

@command config-split:import

@usage drush config-split:import development Import development configuration; assumes a "development" split import only that.

@aliases csim

Parameters

string $split: The split configuration to export, if none is given do a normal import.

File

src/Commands/ConfigSplitCommands.php, line 66

Class

ConfigSplitCommands
Class ConfigSplitCommands.

Namespace

Drupal\config_split\Commands

Code

public function splitImport($split = NULL) {
  $this->cliService
    ->ioImport($split, $this
    ->io(), 'dt');
}