You are here

function xmlsitemap_regenerate_batch_finished in XML sitemap 8

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

Batch callback; sitemap regeneration finished.

Parameters

bool $success: Checks if regeneration batch process was successful.

array $results: Results for the regeneration process.

array $operations: Operations performed.

int $elapsed: Time elapsed.

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

File

./xmlsitemap.module, line 2508
xmlsitemap XML sitemap

Code

function xmlsitemap_regenerate_batch_finished($success, array $results, array $operations, $elapsed) {
  \Drupal::service('xmlsitemap_generator')
    ->regenerateBatchFinished($success, $results, $operations, $elapsed);
}