You are here

public function MetadataEventSubscriber::MetadataIds in Filebrowser 8.2

Same name and namespace in other branches
  1. 3.x src/EventSubscriber/MetadataEventSubscriber.php \Drupal\filebrowser\EventSubscriber\MetadataEventSubscriber::MetadataIds()
1 call to MetadataEventSubscriber::MetadataIds()
MetadataEventSubscriber::setMetadata in src/EventSubscriber/MetadataEventSubscriber.php

File

src/EventSubscriber/MetadataEventSubscriber.php, line 117

Class

MetadataEventSubscriber

Namespace

Drupal\filebrowser\EventSubscriber

Code

public function MetadataIds() {
  return [
    'description' => $this
      ->t('Description'),
    'size' => $this
      ->t('File size'),
    'created' => $this
      ->t('Created'),
    'mimetype' => $this
      ->t('Mimetype'),
  ];
}