You are here

public function XmlSitemapGeneratorInterface::generatePage in XML sitemap 2.x

Same name and namespace in other branches
  1. 8 src/XmlSitemapGeneratorInterface.php \Drupal\xmlsitemap\XmlSitemapGeneratorInterface::generatePage()

Generate one page (chunk) of the sitemap.

Parameters

XmlSitemapInterface $sitemap: An unserialized data array for an XML sitemap.

string $page: An integer of the specific page of the sitemap to generate.

1 method overrides XmlSitemapGeneratorInterface::generatePage()
XmlSitemapGenerator::generatePage in src/XmlSitemapGenerator.php
Generate one page (chunk) of the sitemap.

File

src/XmlSitemapGeneratorInterface.php, line 68

Class

XmlSitemapGeneratorInterface
Provides an interface defining a XmlSitemapGenerator service.

Namespace

Drupal\xmlsitemap

Code

public function generatePage(XmlSitemapInterface $sitemap, $page);