You are here

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

Override the status of a split via state.

@command config-split:status-override

@usage drush config-split:status-override development active Set (or get without a status argument) the status config override.

@aliases csso

Parameters

string $name: The split name.

string|int|bool $status: One of: active|1|true| inactive|0|false| default||null|none.

File

src/Commands/ConfigSplitCommands.php, line 121

Class

ConfigSplitCommands
The Drush 10 commands.

Namespace

Drupal\config_split\Commands

Code

public function statusConfigOverride(string $name, $status = '') {
  $this->cliService
    ->statusOverride($name, $status, $this
    ->io(), 'dt');
}