protected function DatabaseUpdateStatus::execute in Automatic Updates 8
Overrides BaseCommand::execute
File
- src/
Command/ DatabaseUpdateStatus.php, line 26
Class
- DatabaseUpdateStatus
- Database update status command.
Namespace
Drupal\automatic_updates\CommandCode
protected function execute(InputInterface $input, OutputInterface $output) {
parent::execute($input, $output);
$pending_updates = \Drupal::service('automatic_updates.pending_db_updates')
->run();
$output
->writeln($pending_updates);
return 0;
}