function taxonomy_xml_batch_requeue_more in Taxonomy import/export via XML 6
Same name and namespace in other branches
- 6.2 taxonomy_xml.module \taxonomy_xml_batch_requeue_more()
- 7 taxonomy_xml.process.inc \taxonomy_xml_batch_requeue_more()
Batch callback action that should happen at the end of each round of processing.
The last thing that happens in a batch 'round' is the next round gets added to the queue.
@ingroup batch_operations
1 string reference to 'taxonomy_xml_batch_requeue_more'
- taxonomy_xml_add_term_to_batch_queue in ./
taxonomy_xml.module - Manage batch queues by dividing them into recursive 'rounds'.
File
- ./
taxonomy_xml.module, line 1296 - taxonomy_xml.module This module makes it possible to import and export taxonomies as XML documents.
Code
function taxonomy_xml_batch_requeue_more(&$context) {
if ($new_jobs = taxonomy_xml_add_term_to_batch_queue()) {
$context['message'] = t("Finished one round of imports, but n the process found still more to do. Restarting to process a further %remaining_count items.", array(
'%remaining_count' => count($new_jobs['operations']),
));
batch_set($new_jobs);
}
}