function party_devel_generate_batch_finished in Party 8.2
Same name and namespace in other branches
- 7 modules/party_devel/devel_generate_batch.inc \party_devel_generate_batch_finished()
1 string reference to 'party_devel_generate_batch_finished'
- party_devel_generate_batch_parties in modules/
party_devel/ devel_generate_batch.inc - Functions called from FAPI:
File
- modules/
party_devel/ devel_generate_batch.inc, line 58 - Devel Generate batch handling functions using the BatchAPI
Code
function party_devel_generate_batch_finished($success, $results, $operations) {
if ($success) {
$message = t('Finished @num_party_ids partiess created successfully.', array(
'@num_party_ids' => $results['num_party_ids'],
));
}
else {
$message = t('Finished with an error.');
}
drupal_set_message($message);
}