public function ServiceAuditFilesNotOnServer::auditfilesNotOnServerGetHeader in Audit Files 8.2
Same name and namespace in other branches
- 8.3 src/ServiceAuditFilesNotOnServer.php \Drupal\auditfiles\ServiceAuditFilesNotOnServer::auditfilesNotOnServerGetHeader()
- 4.x src/ServiceAuditFilesNotOnServer.php \Drupal\auditfiles\ServiceAuditFilesNotOnServer::auditfilesNotOnServerGetHeader()
Returns the header to use for the display table.
Return value
array The header to use.
File
- src/
ServiceAuditFilesNotOnServer.php, line 132
Class
- ServiceAuditFilesNotOnServer
- Providing the service that used in not in database functionality.
Namespace
Drupal\auditfilesCode
public function auditfilesNotOnServerGetHeader() {
return [
'fid' => [
'data' => $this
->t('File ID'),
],
'uid' => [
'data' => $this
->t('User ID'),
],
'filename' => [
'data' => $this
->t('Name'),
],
'uri' => [
'data' => $this
->t('URI'),
],
'path' => [
'data' => $this
->t('Path'),
],
'filemime' => [
'data' => $this
->t('MIME'),
],
'filesize' => [
'data' => $this
->t('Size'),
],
'datetime' => [
'data' => $this
->t('When added'),
],
'status' => [
'data' => $this
->t('Status'),
],
];
}