public function XmlSitemapCustomListController::__construct in XML sitemap 8
Same name and namespace in other branches
- 2.x 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\ControllerCode
public function __construct(Connection $connection) {
$this->connection = $connection;
}