public function ScheduledPublishCommands::doUpdate in Scheduled Publish 8.2
Same name and namespace in other branches
- 8.3 src/Commands/ScheduledPublishCommands.php \Drupal\scheduled_publish\Commands\ScheduledPublishCommands::doUpdate()
@command scheduled_publish:doUpdate @aliases schp
File
- src/
Commands/ ScheduledPublishCommands.php, line 34
Class
- ScheduledPublishCommands
- Class ScheduledPublishCommands
Namespace
Drupal\scheduled_publish\CommandsCode
public function doUpdate() {
$this->publishCron
->doUpdate();
$this
->logger()
->notice(t('Scheduled publish updates done.'));
}