public function MetadataEventSubscriber::__construct in Filebrowser 3.x
Same name and namespace in other branches
- 8.2 src/EventSubscriber/MetadataEventSubscriber.php \Drupal\filebrowser\EventSubscriber\MetadataEventSubscriber::__construct()
File
- src/
EventSubscriber/ MetadataEventSubscriber.php, line 19
Class
Namespace
Drupal\filebrowser\EventSubscriberCode
public function __construct() {
$this->storage = \Drupal::entityTypeManager()
->getStorage('filebrowser_metadata_entity');
}