You are here

public function SitemapGenerator::set_custom_links in Simple XML sitemap 8

File

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

Class

SitemapGenerator
SitemapGenerator class.

Namespace

Drupal\simplesitemap

Code

public function set_custom_links($custom) {
  $this->custom = is_array($custom) ? $custom : array();
}