protected function QueueWorker::publishCurrentVariant in Simple XML sitemap 4.x
Same name and namespace in other branches
- 8.3 src/Queue/QueueWorker.php \Drupal\simple_sitemap\Queue\QueueWorker::publishCurrentVariant()
1 call to QueueWorker::publishCurrentVariant()
- QueueWorker::generateSitemap in src/
Queue/ QueueWorker.php
File
- src/
Queue/ QueueWorker.php, line 335
Class
Namespace
Drupal\simple_sitemap\QueueCode
protected function publishCurrentVariant() : void {
if ($this->variantProcessedNow !== NULL) {
$this->variantProcessedNow
->generateIndex()
->publish();
}
}