You are here

function _auditfiles_used_not_referenced_get_header in Audit Files 7.4

Same name and namespace in other branches
  1. 7.3 auditfiles.usednotreferenced.inc \_auditfiles_used_not_referenced_get_header()

Returns the header to use for the display table.

Return value

array The header to use.

2 calls to _auditfiles_used_not_referenced_get_header()
auditfiles_used_not_referenced_form in ./auditfiles.usednotreferenced.inc
Generates the report.
_auditfiles_used_not_referenced_get_file_list in ./auditfiles.usednotreferenced.inc
Retrieves the file IDs to operate on.

File

./auditfiles.usednotreferenced.inc, line 675
Generates report showing files in file_usage, but not referenced by content.

Code

function _auditfiles_used_not_referenced_get_header() {
  return array(
    'fid' => array(
      'data' => t('File ID'),
      'field' => 'fu.fid',
    ),
    'uri' => array(
      'data' => t('File URI'),
    ),
    'usage' => array(
      'data' => t('Usages'),
    ),
  );
}