function xmlsitemap_batch_variable_set in XML sitemap 6.2
Same name and namespace in other branches
- 8 xmlsitemap.module \xmlsitemap_batch_variable_set()
- 7.2 xmlsitemap.generate.inc \xmlsitemap_batch_variable_set()
- 2.x xmlsitemap.module \xmlsitemap_batch_variable_set()
Batch callback; set an array of variables and their values.
2 string references to 'xmlsitemap_batch_variable_set'
- xmlsitemap_rebuild_batch in ./
xmlsitemap.generate.inc - Batch information callback for rebuilding the sitemap data.
- xmlsitemap_regenerate_batch in ./
xmlsitemap.generate.inc - Batch information callback for regenerating the sitemap files.
File
- ./
xmlsitemap.generate.inc, line 447 - Sitemap generation and rebuilding functions for the xmlsitemap module.
Code
function xmlsitemap_batch_variable_set(array $variables) {
foreach ($variables as $variable => $value) {
variable_set($variable, $value);
}
}