You are here

public function SitemapWriter::startSitemapDocument in Simple XML sitemap 4.x

Same name and namespace in other branches
  1. 8.3 src/Plugin/simple_sitemap/SitemapGenerator/SitemapWriter.php \Drupal\simple_sitemap\Plugin\simple_sitemap\SitemapGenerator\SitemapWriter::startSitemapDocument()

File

src/Plugin/simple_sitemap/SitemapGenerator/SitemapWriter.php, line 51

Class

SitemapWriter
Class SitemapWriter

Namespace

Drupal\simple_sitemap\Plugin\simple_sitemap\SitemapGenerator

Code

public function startSitemapDocument() : void {
  $this
    ->startDocument(self::XML_VERSION, self::ENCODING);
}