You are here

protected function QueueWorker::stashResults in Simple XML sitemap 8.3

Same name and namespace in other branches
  1. 4.x src/Queue/QueueWorker.php \Drupal\simple_sitemap\Queue\QueueWorker::stashResults()
1 call to QueueWorker::stashResults()
QueueWorker::generateSitemap in src/Queue/QueueWorker.php

File

src/Queue/QueueWorker.php, line 387

Class

QueueWorker

Namespace

Drupal\simple_sitemap\Queue

Code

protected function stashResults() {
  $this->state
    ->set('simple_sitemap.queue_stashed_results', [
    'variant' => $this->variantProcessedNow,
    'generator' => $this->generatorProcessedNow,
    'results' => $this->results,
    'processed_results' => $this->processedResults,
    'processed_paths' => $this->processedPaths,
  ]);
  $this
    ->resetWorker();
}