function _file_entity_mass_update_batch_finished in File Entity (fieldable files) 7.2
Same name and namespace in other branches
- 7.3 file_entity.admin.inc \_file_entity_mass_update_batch_finished()
File Mass Update Batch 'finished' callback.
1 string reference to '_file_entity_mass_update_batch_finished'
- file_entity_mass_update in ./
file_entity.admin.inc - Make mass update of files.
File
- ./
file_entity.admin.inc, line 261
Code
function _file_entity_mass_update_batch_finished($success, $results, $operations) {
if ($success) {
drupal_set_message(t('The update has been performed.'));
}
else {
drupal_set_message(t('An error occurred and processing did not complete.'), 'error');
$message = format_plural(count($results), '1 item successfully processed:', '@count items successfully processed:');
$message .= theme('item_list', array(
'items' => $results,
));
drupal_set_message($message);
}
}