protected function CacheRebuild::execute in Automatic Updates 8
Overrides BaseCommand::execute
File
- src/
Command/ CacheRebuild.php, line 26
Class
- CacheRebuild
- Cache rebuild command.
Namespace
Drupal\automatic_updates\CommandCode
protected function execute(InputInterface $input, OutputInterface $output) {
parent::execute($input, $output);
drupal_flush_all_caches();
$output
->writeln('Cache rebuild complete.');
return 0;
}