function _auditfiles_used_not_managed_batch_set_common_values in Audit Files 7.4
Same name and namespace in other branches
- 7.3 auditfiles.usednotmanaged.inc \_auditfiles_used_not_managed_batch_set_common_values()
Adds vaules to a batch definition that are common to all batches in the file.
Return value
array The beginning of the batch definition.
2 calls to _auditfiles_used_not_managed_batch_set_common_values()
- _auditfiles_used_not_managed_batch_delete_create_batch in ./
auditfiles.usednotmanaged.inc - Creates the batch for deleting files from the file_usage table.
- _auditfiles_used_not_managed_batch_display_create_batch in ./
auditfiles.usednotmanaged.inc - Prepares the definition for the page display batch.
File
- ./
auditfiles.usednotmanaged.inc, line 266 - Generates a report showing files in file_usage, but not in file_managed.
Code
function _auditfiles_used_not_managed_batch_set_common_values() {
return array(
'error_message' => t('One or more errors were encountered processing the files.'),
'file' => drupal_get_path('module', 'auditfiles') . '/auditfiles.usednotmanaged.inc',
'finished' => '_auditfiles_used_not_managed_batch_finish_batch',
'progress_message' => t('Completed @current of @total operations.'),
);
}