protected function UrlGeneratorBase::getImages in Simple XML sitemap 8.2
Parameters
$entity_type_name:
$entity_id:
Return value
array
3 calls to UrlGeneratorBase::getImages()
- CustomUrlGenerator::processDataSet in src/
Plugin/ simple_sitemap/ UrlGenerator/ CustomUrlGenerator.php - @inheritdoc
- EntityMenuLinkContentUrlGenerator::processDataSet in src/
Plugin/ simple_sitemap/ UrlGenerator/ EntityMenuLinkContentUrlGenerator.php - @inheritdoc
- EntityUrlGenerator::processDataSet in src/
Plugin/ simple_sitemap/ UrlGenerator/ EntityUrlGenerator.php - @inheritdoc
File
- src/
Plugin/ simple_sitemap/ UrlGenerator/ UrlGeneratorBase.php, line 439
Class
- UrlGeneratorBase
- Class UrlGeneratorBase @package Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGenerator
Namespace
Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGeneratorCode
protected function getImages($entity_type_name, $entity_id) {
$images = [];
foreach ($this->entityHelper
->getEntityImageUrls($entity_type_name, $entity_id) as $url) {
$images[]['path'] = $this
->replaceBaseUrlWithCustom($url);
}
return $images;
}