You are here

function _auditfiles_used_not_managed_get_header in Audit Files 7.4

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

Returns the header to use for the display table.

Return value

array The header to use.

2 calls to _auditfiles_used_not_managed_get_header()
auditfiles_used_not_managed_form in ./auditfiles.usednotmanaged.inc
Generates the report.
_auditfiles_used_not_managed_get_file_list in ./auditfiles.usednotmanaged.inc
Retrieves the file IDs to operate on.

File

./auditfiles.usednotmanaged.inc, line 612
Generates a report showing files in file_usage, but not in file_managed.

Code

function _auditfiles_used_not_managed_get_header() {
  return array(
    'fid' => array(
      'data' => t('File ID'),
      'field' => 'fu.fid',
    ),
    'module' => array(
      'data' => t('Used by'),
      'field' => 'fu.module',
    ),
    'id' => array(
      'data' => t('Used in'),
      'field' => 'fu.id',
    ),
    'count' => array(
      'data' => t('Count'),
      'field' => 'fu.count',
    ),
  );
}