You are here

public function ServiceAuditFilesNotInDatabase::auditfilesNotInDatabaseGetHeader in Audit Files 8.3

Same name and namespace in other branches
  1. 8.2 src/ServiceAuditFilesNotInDatabase.php \Drupal\auditfiles\ServiceAuditFilesNotInDatabase::auditfilesNotInDatabaseGetHeader()
  2. 4.x src/ServiceAuditFilesNotInDatabase.php \Drupal\auditfiles\ServiceAuditFilesNotInDatabase::auditfilesNotInDatabaseGetHeader()

Returns the header to use for the display table.

Return value

array The header to use.

File

src/ServiceAuditFilesNotInDatabase.php, line 389

Class

ServiceAuditFilesNotInDatabase
Define all methods that are used on Files not in database functionality.

Namespace

Drupal\auditfiles

Code

public function auditfilesNotInDatabaseGetHeader() {
  return [
    'filepathname' => [
      'data' => $this->stringTranslation
        ->translate('File pathname'),
    ],
    'filemime' => [
      'data' => $this->stringTranslation
        ->translate('MIME'),
    ],
    'filesize' => [
      'data' => $this->stringTranslation
        ->translate('Size (in bytes)'),
    ],
    'filemodtime' => [
      'data' => $this->stringTranslation
        ->translate('Last modified'),
    ],
  ];
}