function xmlsitemap_rebuild_batch_clear in XML sitemap 8
Same name and namespace in other branches
- 6.2 xmlsitemap.generate.inc \xmlsitemap_rebuild_batch_clear()
- 7.2 xmlsitemap.generate.inc \xmlsitemap_rebuild_batch_clear()
- 2.x xmlsitemap.module \xmlsitemap_rebuild_batch_clear()
Batch callback; clear sitemap links for entities.
Parameters
array $entity_type_ids: Entity types to rebuild.
bool $save_custom: Save custom data.
array|\ArrayAccess $context: Context to be rebuilt.
1 string reference to 'xmlsitemap_rebuild_batch_clear'
- xmlsitemap_rebuild_batch in ./
xmlsitemap.module - Batch information callback for rebuilding the sitemap data.
File
- ./
xmlsitemap.module, line 2575 - xmlsitemap XML sitemap
Code
function xmlsitemap_rebuild_batch_clear(array $entity_type_ids, $save_custom, &$context = []) {
\Drupal::service('xmlsitemap_generator')
->rebuildBatchClear($entity_type_ids, $save_custom, $context);
}