You are here

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

Same name and namespace in other branches
  1. 8.3 modules/simple_sitemap_views/src/Controller/SimpleSitemapViewsController.php \Drupal\simple_sitemap_views\Controller\SimpleSitemapViewsController::__construct()

SimpleSitemapViewsController constructor.

Parameters

\Drupal\simple_sitemap_views\SimpleSitemapViews $sitemap_views: Views sitemap data.

File

modules/simple_sitemap_views/src/Controller/SimpleSitemapViewsController.php, line 29

Class

SimpleSitemapViewsController
Controller for Simple XML Sitemap Views admin page.

Namespace

Drupal\simple_sitemap_views\Controller

Code

public function __construct(SimpleSitemapViews $sitemap_views) {
  $this->sitemapViews = $sitemap_views;
}