public function SitemapController::__construct in Sitemap 8
Same name and namespace in other branches
- 8.2 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\Extension\ModuleHandlerInterface $module_handler: Module Handler Service.
File
- src/
Controller/ SitemapController.php, line 27
Class
- SitemapController
- Controller routines for update routes.
Namespace
Drupal\sitemap\ControllerCode
public function __construct(ModuleHandlerInterface $module_handler) {
$this->moduleHandler = $module_handler;
}