You are here

public function MediaSitemapController::__construct in Media Sitemap 8

File

src/Controller/MediaSitemapController.php, line 40
Contains \Drupal\media_sitemap\Controller\MediaSitemapController.

Class

MediaSitemapController
Class MediaSitemapController.

Namespace

Drupal\media_sitemap\Controller

Code

public function __construct(Connection $database, ConfigFactory $config_factory) {
  $this->database = $database;
  $this->config_factory = $config_factory;
}