You are here

public function MetadataEventSubscriber::__construct in Filebrowser 3.x

Same name and namespace in other branches
  1. 8.2 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');
}