You are here

private function SitemapGenerator::generate_custom_paths in Simple XML sitemap 8

Generates custom internal paths.

1 call to SitemapGenerator::generate_custom_paths()
SitemapGenerator::generate_sitemap in src/SitemapGenerator.php
Generates and returns the sitemap.

File

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

Class

SitemapGenerator
SitemapGenerator class.

Namespace

Drupal\simplesitemap

Code

private function generate_custom_paths() {
  $link_generator = new CustomLinkGenerator();
  $links = $link_generator
    ->get_paths($this->custom);
  $this
    ->add_created_paths($links);
}