You are here

public function SimpleSitemapViews::__construct in Simple XML sitemap (Views integration) 8

SimpleSitemapViews constructor.

Parameters

\Drupal\Core\Database\Connection $database: The current active database's master connection.

File

src/SimpleSitemapViews.php, line 41
Contains simple_sitemap_views service.

Class

SimpleSitemapViews
Class to manage sitemap data for views.

Namespace

Drupal\simple_sitemap_views

Code

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