You are here

public function ConfigSplitCommands::splitImport in Configuration Split 2.0.x

Same name and namespace in other branches
  1. 8 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 configuration of the "development" split

Propose an alias at: https://www.drupal.org/project/config_split/issues/3181368

Parameters

string $split: The split configuration to import.

File

src/Commands/ConfigSplitCommands.php, line 66

Class

ConfigSplitCommands
The Drush 10 commands.

Namespace

Drupal\config_split\Commands

Code

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