You are here

public function LightningCoreCommands::update in Lightning Core 8.2

Same name and namespace in other branches
  1. 8.5 src/Commands/LightningCoreCommands.php \Drupal\lightning_core\Commands\LightningCoreCommands::update()
  2. 8 src/Commands/LightningCoreCommands.php \Drupal\lightning_core\Commands\LightningCoreCommands::update()
  3. 8.3 src/Commands/LightningCoreCommands.php \Drupal\lightning_core\Commands\LightningCoreCommands::update()
  4. 8.4 src/Commands/LightningCoreCommands.php \Drupal\lightning_core\Commands\LightningCoreCommands::update()

Executes Lightning configuration updates from a specific version.

@command update:lightning

@usage update:lightning Runs all available configuration updates.

File

src/Commands/LightningCoreCommands.php, line 35

Class

LightningCoreCommands

Namespace

Drupal\lightning_core\Commands

Code

public function update() {
  $io = new DrushStyle($this
    ->input(), $this
    ->output());
  $this->updateManager
    ->executeAllInConsole($io);
}