public function SimpleSitemapViewsController::__construct in Simple XML sitemap 4.x
Same name and namespace in other branches
- 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\ControllerCode
public function __construct(SimpleSitemapViews $sitemap_views) {
$this->sitemapViews = $sitemap_views;
}