- Issue created by @mglaman
- @mglaman opened merge request.
We wanted to modify the entities returned in \Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGenerator\EntityUrlGenerator, such as a field which says "exclude from sitemap. If the entity query had a tag, we could add this condition.
if ($bundle_settings['index']) {
$query = $entityTypeStorage->getQuery();
$query->addTag('simple_sitemap');
Active
4.0
Code