You are here

public function XmlSitemapGeneratorInterface::generateChunk in XML sitemap 8

Same name and namespace in other branches
  1. 2.x src/XmlSitemapGeneratorInterface.php \Drupal\xmlsitemap\XmlSitemapGeneratorInterface::generateChunk()

Generates one chunk of the sitemap.

Parameters

\Drupal\xmlsitemap\XmlSitemapInterface $sitemap: The XML sitemap config entity.

\Drupal\xmlsitemap\XmlSitemapWriter $writer: XML writer object.

int $chunk: Chunk value.

1 method overrides XmlSitemapGeneratorInterface::generateChunk()
XmlSitemapGenerator::generateChunk in src/XmlSitemapGenerator.php
Generates one chunk of the sitemap.

File

src/XmlSitemapGeneratorInterface.php, line 80

Class

XmlSitemapGeneratorInterface
Provides an interface defining a XmlSitemapGenerator service.

Namespace

Drupal\xmlsitemap

Code

public function generateChunk(XmlSitemapInterface $sitemap, XmlSitemapWriter $writer, $chunk);