public function SitemapWarmer::setSitemapParser in Warmer 2.x
Same name and namespace in other branches
- 8 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 179
Class
- SitemapWarmer
- The cache warmer for the built-in entity cache.
Namespace
Drupal\warmer_cdn\Plugin\warmerCode
public function setSitemapParser(SitemapParser $parser) {
$this->sitemapParser = $parser;
}