You are here

function xmlsitemap_batch_variable_set in XML sitemap 8

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

Batch callback; set an array of variables and their values.

Parameters

array $variables: Variables to be set during the batch process.

2 string references to 'xmlsitemap_batch_variable_set'
xmlsitemap_rebuild_batch in ./xmlsitemap.module
Batch information callback for rebuilding the sitemap data.
xmlsitemap_regenerate_batch in ./xmlsitemap.module
Batch information callback for regenerating the sitemap files.

File

./xmlsitemap.module, line 2561
xmlsitemap XML sitemap

Code

function xmlsitemap_batch_variable_set(array $variables) {
  \Drupal::service('xmlsitemap_generator')
    ->batchVariableSet($variables);
}