You are here

public function SitemapWarmer::setSitemapParser in Warmer 8

Same name and namespace in other branches
  1. 2.x modules/warmer_cdn/src/Plugin/warmer/SitemapWarmer.php \Drupal\warmer_cdn\Plugin\warmer\SitemapWarmer::setSitemapParser()

Set the sitemap parser.

Parameters

\vipnytt\SitemapParser $parser: The client.

File

modules/warmer_cdn/src/Plugin/warmer/SitemapWarmer.php, line 172

Class

SitemapWarmer
The cache warmer for the built-in entity cache.

Namespace

Drupal\warmer_cdn\Plugin\warmer

Code

public function setSitemapParser(SitemapParser $parser) {
  $this->sitemapParser = $parser;
}