You are here

public function SitemapGeneratorBase::remove in Simple XML sitemap 8.3

Parameters

string $mode:

Return value

$this

Overrides SitemapGeneratorInterface::remove

1 call to SitemapGeneratorBase::remove()
SitemapGeneratorBase::publish in src/Plugin/simple_sitemap/SitemapGenerator/SitemapGeneratorBase.php

File

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

Class

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

Namespace

Drupal\simple_sitemap\Plugin\simple_sitemap\SitemapGenerator

Code

public function remove($mode = 'all') {
  self::purgeSitemapVariants($this->sitemapVariant, $mode);
  return $this;
}