You are here

public function ServiceAuditFilesUsedNotManaged::auditfilesUsedNotManagedGetHeader in Audit Files 4.x

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

Returns the header to use for the display table.

File

src/ServiceAuditFilesUsedNotManaged.php, line 98

Class

ServiceAuditFilesUsedNotManaged
Form for Files used not managed functionality.

Namespace

Drupal\auditfiles

Code

public function auditfilesUsedNotManagedGetHeader() {
  return [
    'fid' => [
      'data' => $this->stringTranslation
        ->translate('File ID'),
    ],
    'module' => [
      'data' => $this->stringTranslation
        ->translate('Used by'),
    ],
    'id' => [
      'data' => $this->stringTranslation
        ->translate('Used in'),
    ],
    'count' => [
      'data' => $this->stringTranslation
        ->translate('Count'),
    ],
  ];
}