You are here

protected function UpdateCommand::execute in Lightning Core 8.5

Same name and namespace in other branches
  1. 8 src/Command/UpdateCommand.php \Drupal\lightning_core\Command\UpdateCommand::execute()
  2. 8.2 src/Command/UpdateCommand.php \Drupal\lightning_core\Command\UpdateCommand::execute()
  3. 8.3 src/Command/UpdateCommand.php \Drupal\lightning_core\Command\UpdateCommand::execute()
  4. 8.4 src/Command/UpdateCommand.php \Drupal\lightning_core\Command\UpdateCommand::execute()

File

src/Command/UpdateCommand.php, line 37

Class

UpdateCommand
Defines a console command to run optional configuration updates.

Namespace

Drupal\lightning_core\Command

Code

protected function execute(InputInterface $input, OutputInterface $output) {
  $io = new DrupalStyle($input, $output);
  $this->updateManager
    ->executeAllInConsole($io);
}