You are here

function _auditfiles_used_not_managed_batch_display_get_operations in Audit Files 7.4

Same name and namespace in other branches
  1. 7.3 auditfiles.usednotmanaged.inc \_auditfiles_used_not_managed_batch_display_get_operations()

Configures the operations for the batch process.

Return value

array The operations to execute.

1 call to _auditfiles_used_not_managed_batch_display_get_operations()
_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 323
Generates a report showing files in file_usage, but not in file_managed.

Code

function _auditfiles_used_not_managed_batch_display_get_operations() {
  $operations = array();
  $file_ids = _auditfiles_used_not_managed_get_file_list();
  foreach ($file_ids as $file_id) {
    $operations[] = array(
      '_auditfiles_used_not_managed_batch_display_process_batch',
      array(
        $file_id,
      ),
    );
  }
  return $operations;
}