You are here

protected function UrlGeneratorBase::getChunkCount in Simple XML sitemap 8.2

2 calls to UrlGeneratorBase::getChunkCount()
UrlGeneratorBase::initializeBatch in src/Plugin/simple_sitemap/UrlGenerator/UrlGeneratorBase.php
UrlGeneratorBase::processSegment in src/Plugin/simple_sitemap/UrlGenerator/UrlGeneratorBase.php

File

src/Plugin/simple_sitemap/UrlGenerator/UrlGeneratorBase.php, line 185

Class

UrlGeneratorBase
Class UrlGeneratorBase @package Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGenerator

Namespace

Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGenerator

Code

protected function getChunkCount() {
  return !empty($this->context['results']['chunk_count']) ? $this->context['results']['chunk_count'] : 0;
}