You are here

public function ConfigUpdateUiCommands::diff in Configuration Update Manager 8

Displays a diff of a config item.

Displays line-by-line differences for one config item between your active config and the version currently being provided by an installed module, theme, or install profile.

@usage drush config-diff block.block.bartik_search Displays the config differences for the search block in the Bartik theme.

@command config:diff @aliases cfd,config-diff

Parameters

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

Return value

string The formatted diff output.

File

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

Class

ConfigUpdateUiCommands
A set of Drush commands for Config Update Manager.

Namespace

Drupal\config_update_ui\Commands

Code

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