You are here

public function MetadataEventSubscriber::__construct in Filebrowser 8.2

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

File

src/EventSubscriber/MetadataEventSubscriber.php, line 19

Class

MetadataEventSubscriber

Namespace

Drupal\filebrowser\EventSubscriber

Code

public function __construct() {
  $this->storage = \Drupal::entityTypeManager()
    ->getStorage('filebrowser_metadata_entity');
}