You are here

public function SitemapController::__construct in Sitemap 8

Same name and namespace in other branches
  1. 8.2 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\Extension\ModuleHandlerInterface $module_handler: Module Handler Service.

File

src/Controller/SitemapController.php, line 27

Class

SitemapController
Controller routines for update routes.

Namespace

Drupal\sitemap\Controller

Code

public function __construct(ModuleHandlerInterface $module_handler) {
  $this->moduleHandler = $module_handler;
}