public function SitemapController::__construct in Sitemap 8.2
Same name and namespace in other branches
- 8 src/Controller/SitemapController.php \Drupal\sitemap\Controller\SitemapController::__construct()
- 2.0.x src/Controller/SitemapController.php \Drupal\sitemap\Controller\SitemapController::__construct()
Constructs update status data.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The configuration factory.
\Drupal\sitemap\SitemapManager $sitemap_manager: The SitemapMap plugin manager.
File
- src/
Controller/ SitemapController.php, line 37
Class
- SitemapController
- Controller routines for update routes.
Namespace
Drupal\sitemap\ControllerCode
public function __construct(ConfigFactoryInterface $config_factory, SitemapManager $sitemap_manager) {
$this->configFactory = $config_factory;
$this->sitemapManager = $sitemap_manager;
}