public function UrlGeneratorBase::generate in Simple XML sitemap 8.3
Same name and namespace in other branches
- 8.2 src/Plugin/simple_sitemap/UrlGenerator/UrlGeneratorBase.php \Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGenerator\UrlGeneratorBase::generate()
- 4.x src/Plugin/simple_sitemap/UrlGenerator/UrlGeneratorBase.php \Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGenerator\UrlGeneratorBase::generate()
Parameters
$data_set:
Return value
array
Overrides UrlGeneratorInterface::generate
1 method overrides UrlGeneratorBase::generate()
- EntityUrlGeneratorBase::generate in src/
Plugin/ simple_sitemap/ UrlGenerator/ EntityUrlGeneratorBase.php
File
- src/
Plugin/ simple_sitemap/ UrlGenerator/ UrlGeneratorBase.php, line 111
Class
- UrlGeneratorBase
- Class UrlGeneratorBase @package Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGenerator
Namespace
Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGeneratorCode
public function generate($data_set) {
$path_data = $this
->processDataSet($data_set);
return FALSE !== $path_data ? [
$path_data,
] : [];
}