You are here

function ServiceAuditFilesReferencedNotUsed::_auditfiles_referenced_not_used_get_header in Audit Files 8

Returns the header to use for the display table.

Return value

array The header to use.

File

src/ServiceAuditFilesReferencedNotUsed.php, line 124
providing the service that used in 'referenced not used' functionality.

Class

ServiceAuditFilesReferencedNotUsed

Namespace

Drupal\auditfiles

Code

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