public function ArbitraryUrlGenerator::getDataSets in Simple XML sitemap 8.3
Same name and namespace in other branches
- 8.2 src/Plugin/simple_sitemap/UrlGenerator/ArbitraryUrlGenerator.php \Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGenerator\ArbitraryUrlGenerator::getDataSets()
@inheritdoc
Overrides UrlGeneratorBase::getDataSets
File
- src/
Plugin/ simple_sitemap/ UrlGenerator/ ArbitraryUrlGenerator.php, line 70
Class
- ArbitraryUrlGenerator
- Class ArbitraryUrlGenerator @package Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGenerator
Namespace
Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGeneratorCode
public function getDataSets() {
$arbitrary_links = [];
$sitemap_variant = $this->sitemapVariant;
$this->moduleHandler
->alter('simple_sitemap_arbitrary_links', $arbitrary_links, $sitemap_variant);
return array_values($arbitrary_links);
}