You are here

public static function MetadataEventSubscriber::getSubscribedEvents in Filebrowser 8.2

Same name in this branch
  1. 8.2 src/EventSubscriber/MetadataEventSubscriber.php \Drupal\filebrowser\EventSubscriber\MetadataEventSubscriber::getSubscribedEvents()
  2. 8.2 modules/src/EventSubscriber/MetadataEventSubscriber.php \Drupal\filebrowser_extra\EventSubscriber\MetadataEventSubscriber::getSubscribedEvents()
Same name and namespace in other branches
  1. 3.x src/EventSubscriber/MetadataEventSubscriber.php \Drupal\filebrowser\EventSubscriber\MetadataEventSubscriber::getSubscribedEvents()

File

src/EventSubscriber/MetadataEventSubscriber.php, line 26

Class

MetadataEventSubscriber

Namespace

Drupal\filebrowser\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events['filebrowser.metadata_event'][] = [
    'setMetadata',
    0,
  ];
  return $events;
}