You are here

public function SitemapWriter::__construct in Simple XML sitemap 4.x

Same name and namespace in other branches
  1. 8.3 src/Plugin/simple_sitemap/SitemapGenerator/SitemapWriter.php \Drupal\simple_sitemap\Plugin\simple_sitemap\SitemapGenerator\SitemapWriter::__construct()

File

src/Plugin/simple_sitemap/SitemapGenerator/SitemapWriter.php, line 21

Class

SitemapWriter
Class SitemapWriter

Namespace

Drupal\simple_sitemap\Plugin\simple_sitemap\SitemapGenerator

Code

public function __construct(RouteProviderInterface $route_provider) {
  $this->routeProvider = $route_provider;
}