protected function SitemapGeneratorBase::getChunkInfo in Simple XML sitemap 8.3
1 call to SitemapGeneratorBase::getChunkInfo()
- SitemapGeneratorBase::generateIndex in src/
Plugin/ simple_sitemap/ SitemapGenerator/ SitemapGeneratorBase.php
File
- src/
Plugin/ simple_sitemap/ SitemapGenerator/ SitemapGeneratorBase.php, line 136
Class
- SitemapGeneratorBase
- Class SitemapGeneratorBase @package Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGenerator
Namespace
Drupal\simple_sitemap\Plugin\simple_sitemap\SitemapGeneratorCode
protected function getChunkInfo() {
return $this->db
->select('simple_sitemap', 's')
->fields('s', [
'delta',
'sitemap_created',
'type',
])
->condition('s.type', $this->sitemapVariant)
->condition('s.delta', self::INDEX_DELTA, '<>')
->condition('s.status', 0)
->execute()
->fetchAllAssoc('delta');
}