function devel_generate_batch_finished in Devel 6
Same name and namespace in other branches
- 8.3 devel_generate/devel_generate.batch.inc \devel_generate_batch_finished()
- 8 devel_generate/devel_generate.batch.inc \devel_generate_batch_finished()
- 8.2 devel_generate/devel_generate.batch.inc \devel_generate_batch_finished()
- 7 devel_generate/devel_generate_batch.inc \devel_generate_batch_finished()
- 4.x devel_generate/devel_generate.batch.inc \devel_generate_batch_finished()
1 string reference to 'devel_generate_batch_finished'
- devel_batch_generate_content in ./
devel_generate_batch.inc - Functions called from FAPI:
File
- ./
devel_generate_batch.inc, line 60
Code
function devel_generate_batch_finished($success, $results, $operations) {
if ($success) {
$message = t('Finished @num_nids nodes created successfully.', array(
'@num_nids' => $results['num_nids'],
));
}
else {
$message = t('Finished with an error.');
}
drupal_set_message($message);
}