You are here

public function ServiceAuditFilesUsedNotReferenced::auditfilesUsedNotReferencedGetHeader in Audit Files 4.x

Same name and namespace in other branches
  1. 8.3 src/ServiceAuditFilesUsedNotReferenced.php \Drupal\auditfiles\ServiceAuditFilesUsedNotReferenced::auditfilesUsedNotReferencedGetHeader()
  2. 8.2 src/ServiceAuditFilesUsedNotReferenced.php \Drupal\auditfiles\ServiceAuditFilesUsedNotReferenced::auditfilesUsedNotReferencedGetHeader()

Returns the header to use for the display table.

Return value

array The header to use.

File

src/ServiceAuditFilesUsedNotReferenced.php, line 158

Class

ServiceAuditFilesUsedNotReferenced
List all methods used in files used not managed functionality.

Namespace

Drupal\auditfiles

Code

public function auditfilesUsedNotReferencedGetHeader() {
  return [
    'fid' => [
      'data' => $this->stringTranslation
        ->translate('File ID'),
    ],
    'uri' => [
      'data' => $this->stringTranslation
        ->translate('File URI'),
    ],
    'usage' => [
      'data' => $this->stringTranslation
        ->translate('Usages'),
    ],
  ];
}