public function SimplesitemapController::__construct in Simple XML sitemap 8.3
Same name and namespace in other branches
- 8.2 src/Controller/SimplesitemapController.php \Drupal\simple_sitemap\Controller\SimplesitemapController::__construct()
- 4.x src/Controller/SimpleSitemapController.php \Drupal\simple_sitemap\Controller\SimpleSitemapController::__construct()
SimplesitemapController constructor.
Parameters
\Drupal\simple_sitemap\Simplesitemap $generator:
File
- src/
Controller/ SimplesitemapController.php, line 28
Class
- SimplesitemapController
- Class SimplesitemapController @package Drupal\simple_sitemap\Controller
Namespace
Drupal\simple_sitemap\ControllerCode
public function __construct(Simplesitemap $generator) {
$this->generator = $generator;
}