You are here

public function SitemapGeneratorBase::setSitemapVariant in Simple XML sitemap 8.3

Same name and namespace in other branches
  1. 4.x src/Plugin/simple_sitemap/SitemapGenerator/SitemapGeneratorBase.php \Drupal\simple_sitemap\Plugin\simple_sitemap\SitemapGenerator\SitemapGeneratorBase::setSitemapVariant()

Parameters

string $sitemap_variant:

Return value

$this

Overrides SitemapGeneratorInterface::setSitemapVariant

File

src/Plugin/simple_sitemap/SitemapGenerator/SitemapGeneratorBase.php, line 117

Class

SitemapGeneratorBase
Class SitemapGeneratorBase @package Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGenerator

Namespace

Drupal\simple_sitemap\Plugin\simple_sitemap\SitemapGenerator

Code

public function setSitemapVariant($sitemap_variant) {
  $this->sitemapVariant = $sitemap_variant;
  return $this;
}