You are here

function _auditfiles_merge_file_references_batch_set_common_values in Audit Files 7.3

Adds values 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_merge_file_references_batch_set_common_values()
_auditfiles_merge_file_references_batch_display_create_batch in ./auditfiles.mergefilereferences.inc
Prepares the definition for the page display batch.
_auditfiles_merge_file_references_batch_merge_create_batch in ./auditfiles.mergefilereferences.inc
Creates the batch for merging files.

File

./auditfiles.mergefilereferences.inc, line 262
Generates a report showing & allowing for merging potential duplicate files.

Code

function _auditfiles_merge_file_references_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.mergefilereferences.inc',
    'finished' => '_auditfiles_merge_file_references_batch_finish_batch',
    'progress_message' => t('Completed @current of @total operations.'),
  );
}