public function SimpleSitemap::getChunk in Simple XML sitemap 4.x
Overrides SimpleSitemapInterface::getChunk
File
- src/
Entity/ SimpleSitemap.php, line 165
Class
- SimpleSitemap
- Defines the simple_sitemap entity.
Namespace
Drupal\simple_sitemap\EntityCode
public function getChunk(int $delta = SimpleSitemapStorage::SITEMAP_CHUNK_FIRST_DELTA) : string {
return \Drupal::entityTypeManager()
->getStorage('simple_sitemap')
->getChunk($this, $this->fetchByStatus, $delta);
}