You are here

public function XmlSitemapCustomListController::__construct in XML sitemap 2.x

Same name and namespace in other branches
  1. 8 xmlsitemap_custom/src/Controller/XmlSitemapCustomListController.php \Drupal\xmlsitemap_custom\Controller\XmlSitemapCustomListController::__construct()

XmlSitemapCustomListController constructor.

Parameters

\Drupal\Core\Database\Connection $connection: The database connection.

File

xmlsitemap_custom/src/Controller/XmlSitemapCustomListController.php, line 32

Class

XmlSitemapCustomListController
Builds the list table for all custom links.

Namespace

Drupal\xmlsitemap_custom\Controller

Code

public function __construct(Connection $connection) {
  $this->connection = $connection;
}