function xmlsitemap_regenerate_batch_generate_index in XML sitemap 8
Same name and namespace in other branches
- 6.2 xmlsitemap.generate.inc \xmlsitemap_regenerate_batch_generate_index()
- 7.2 xmlsitemap.generate.inc \xmlsitemap_regenerate_batch_generate_index()
- 2.x xmlsitemap.module \xmlsitemap_regenerate_batch_generate_index()
Batch callback; generate the index page of a sitemap.
Parameters
string $smid: Sitemap entity id.
array|\ArrayAccess $context: Sitemap context.
1 string reference to 'xmlsitemap_regenerate_batch_generate_index'
- xmlsitemap_regenerate_batch in ./
xmlsitemap.module - Batch information callback for regenerating the sitemap files.
File
- ./
xmlsitemap.module, line 2492 - xmlsitemap XML sitemap
Code
function xmlsitemap_regenerate_batch_generate_index($smid, &$context = []) {
\Drupal::service('xmlsitemap_generator')
->regenerateBatchGenerateIndex($smid, $context);
}