You are here

function _auditfiles_referenced_not_used_get_header in Audit Files 7.4

Same name and namespace in other branches
  1. 7.3 auditfiles.referencednotused.inc \_auditfiles_referenced_not_used_get_header()

Returns the header to use for the display table.

Return value

array The header to use.

2 calls to _auditfiles_referenced_not_used_get_header()
auditfiles_referenced_not_used_form in ./auditfiles.referencednotused.inc
Generates the report.
_auditfiles_referenced_not_used_get_file_list in ./auditfiles.referencednotused.inc
Retrieves the file IDs to operate on.

File

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

Code

function _auditfiles_referenced_not_used_get_header() {
  return array(
    'file_id' => array(
      'data' => t('File ID'),
    ),
    'entity_type' => array(
      'data' => t('Referencing entity type'),
      'field' => 'entity_type',
    ),
    'entity_id_display' => array(
      'data' => t('Referencing entity ID'),
      'field' => 'entity_id',
    ),
    'field' => array(
      'data' => t('Field referenced in'),
    ),
    'uri' => array(
      'data' => t('URI'),
    ),
    'filemime' => array(
      'data' => t('MIME'),
    ),
    'filesize' => array(
      'data' => t('Size (in bytes)'),
    ),
  );
}