You are here

public function ConfigUpdateUiCommands::importMissing in Configuration Update Manager 8

Imports missing config item.

Imports a missing or inactive config item provided by an installed module, theme, or install profile. Be sure that requirements are met.

@usage drush config-import-missing block.block.bartik_search Import the config for the search block in the Bartik theme from the version provided by the install profile.

@command config:import-missing @aliases cfi,config-import-missing

Parameters

string $name: The name of the config item to import (usually the ID you would see in the user interface). See config-missing-report to list config items that are missing, and config-inactive-report to list config items that are inactive.

File

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

Class

ConfigUpdateUiCommands
A set of Drush commands for Config Update Manager.

Namespace

Drupal\config_update_ui\Commands

Code

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