You are here

public function ConfigUpdateUiCommands::revert in Configuration Update Manager 8

Reverts a config item.

Reverts one config item in active storage to the version provided by an installed module, theme, or install profile.

@usage drush config-revert block.block.bartik_search Revert the config for the search block in the Bartik theme to the version provided by the install profile.

@command config:revert @aliases cfr,config-revert

Parameters

string $name: The config item to revert. See config-different-report to list config items that are different.

File

config_update_ui/src/Commands/ConfigUpdateUiCommands.php, line 194

Class

ConfigUpdateUiCommands
A set of Drush commands for Config Update Manager.

Namespace

Drupal\config_update_ui\Commands

Code

public function revert($name) {
  $this->cliService
    ->revert($name);
}