You are here

public function ServiceAuditFilesMergeFileReferences::auditfilesMergeFileReferencesGetHeader in Audit Files 8.2

Same name and namespace in other branches
  1. 8.3 src/ServiceAuditFilesMergeFileReferences.php \Drupal\auditfiles\ServiceAuditFilesMergeFileReferences::auditfilesMergeFileReferencesGetHeader()

Returns the header to use for the display table.

Return value

array The header to use.

File

src/ServiceAuditFilesMergeFileReferences.php, line 175

Class

ServiceAuditFilesMergeFileReferences
Define all methods that used in merge file references functionality.

Namespace

Drupal\auditfiles

Code

public function auditfilesMergeFileReferencesGetHeader() {
  return [
    'filename' => [
      'data' => $this->stringTranslation
        ->translate('Name'),
    ],
    'references' => [
      'data' => $this->stringTranslation
        ->translate('File IDs using the filename'),
    ],
  ];
}