public function LightningCoreCommands::update in Lightning Core 8
Same name and namespace in other branches
- 8.5 src/Commands/LightningCoreCommands.php \Drupal\lightning_core\Commands\LightningCoreCommands::update()
- 8.2 src/Commands/LightningCoreCommands.php \Drupal\lightning_core\Commands\LightningCoreCommands::update()
- 8.3 src/Commands/LightningCoreCommands.php \Drupal\lightning_core\Commands\LightningCoreCommands::update()
- 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
Namespace
Drupal\lightning_core\CommandsCode
public function update() {
$io = new DrushStyle($this
->input(), $this
->output());
$this->updateManager
->executeAllInConsole($io);
}