You are here

public function SitemapWriter::startSitemapDocument in Simple XML sitemap 8.3

Same name and namespace in other branches
  1. 4.x 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 52

Class

SitemapWriter
Class SitemapWriter @package Drupal\simple_sitemap\Plugin\simple_sitemap\SitemapGenerator

Namespace

Drupal\simple_sitemap\Plugin\simple_sitemap\SitemapGenerator

Code

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