You are here

function SitemapGenerator::__construct in Simple XML sitemap 8

File

src/SitemapGenerator.php, line 31
Contains \Drupal\simplesitemap\SitemapGenerator.

Class

SitemapGenerator
SitemapGenerator class.

Namespace

Drupal\simplesitemap

Code

function __construct() {
  $this->default_language_id = \Drupal::languageManager()
    ->getDefaultLanguage()
    ->getId();
  $this->links = array();
}