You are here

protected function SitemapGeneratorBase::isDefaultVariant in Simple XML sitemap 8.3

Return value

bool

1 call to SitemapGeneratorBase::isDefaultVariant()
SitemapGeneratorBase::getSitemapUrl in src/Plugin/simple_sitemap/SitemapGenerator/SitemapGeneratorBase.php

File

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

Class

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

Namespace

Drupal\simple_sitemap\Plugin\simple_sitemap\SitemapGenerator

Code

protected function isDefaultVariant() {
  return $this->sitemapVariant === $this->settings['default_variant'];
}