function lingotek_admin_setup_nonbuiltins_batch in Lingotek Translation 7.6
Same name and namespace in other branches
- 7.7 lingotek.admin.inc \lingotek_admin_setup_nonbuiltins_batch()
- 7.4 lingotek.admin.inc \lingotek_admin_setup_nonbuiltins_batch()
- 7.5 lingotek.admin.inc \lingotek_admin_setup_nonbuiltins_batch()
1 call to lingotek_admin_setup_nonbuiltins_batch()
File
- ./
lingotek.admin.inc, line 1000
Code
function lingotek_admin_setup_nonbuiltins_batch($operations) {
$batch = array(
'operations' => $operations,
'title' => 'Site translation preparation',
'init_message' => t('Preparing to run batch actions'),
'progress_message' => t('Processed @current out of @total.'),
'error_message' => t('An error has occurred during setup. Please review the log for more information.'),
'file' => drupal_get_path('module', 'lingotek') . '/lingotek.admin.inc',
);
if ($operations && count($operations)) {
batch_set($batch);
}
}