public function CustomUrlGenerator::getDataSets in Simple XML sitemap 8.2
Same name and namespace in other branches
- 8.3 src/Plugin/simple_sitemap/UrlGenerator/CustomUrlGenerator.php \Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGenerator\CustomUrlGenerator::getDataSets()
- 4.x src/Plugin/simple_sitemap/UrlGenerator/CustomUrlGenerator.php \Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGenerator\CustomUrlGenerator::getDataSets()
@inheritdoc
Overrides UrlGeneratorBase::getDataSets
File
- src/
Plugin/ simple_sitemap/ UrlGenerator/ CustomUrlGenerator.php, line 103
Class
- CustomUrlGenerator
- Class CustomUrlGenerator @package Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGenerator
Namespace
Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGeneratorCode
public function getDataSets() {
$this->includeImages = $this->generator
->getSetting('custom_links_include_images', FALSE);
return array_values($this->generator
->getCustomLinks());
}