public function QueueWorker::getInitialElementCount in Simple XML sitemap 4.x
Same name and namespace in other branches
- 8.3 src/Queue/QueueWorker.php \Drupal\simple_sitemap\Queue\QueueWorker::getInitialElementCount()
1 call to QueueWorker::getInitialElementCount()
- QueueWorker::getProcessedElementCount in src/
Queue/ QueueWorker.php
File
- src/
Queue/ QueueWorker.php, line 383
Class
Namespace
Drupal\simple_sitemap\QueueCode
public function getInitialElementCount() : ?int {
if (NULL === $this->elementsTotal) {
$this->elementsTotal = (int) $this->state
->get('simple_sitemap.queue_items_initial_amount', 0);
}
return $this->elementsTotal;
}