You are here

public function SitemapController::__construct in Sitemap 8.2

Same name and namespace in other branches
  1. 8 src/Controller/SitemapController.php \Drupal\sitemap\Controller\SitemapController::__construct()
  2. 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\Controller

Code

public function __construct(ConfigFactoryInterface $config_factory, SitemapManager $sitemap_manager) {
  $this->configFactory = $config_factory;
  $this->sitemapManager = $sitemap_manager;
}