You are here

function _xmlsitemap_regenerate_before in XML sitemap 8

Same name and namespace in other branches
  1. 6.2 xmlsitemap.generate.inc \_xmlsitemap_regenerate_before()
  2. 7.2 xmlsitemap.generate.inc \_xmlsitemap_regenerate_before()
  3. 2.x xmlsitemap.module \_xmlsitemap_regenerate_before()

Perform operations before rebuilding the sitemap.

1 string reference to '_xmlsitemap_regenerate_before'
xmlsitemap_regenerate_batch in ./xmlsitemap.module
Batch information callback for regenerating the sitemap files.

File

./xmlsitemap.module, line 2427
xmlsitemap XML sitemap

Code

function _xmlsitemap_regenerate_before() {
  \Drupal::service('xmlsitemap_generator')
    ->regenerateBefore();
}