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 modules/src/EventSubscriber/MetadataEventSubscriber.php \Drupal\filebrowser_extra\EventSubscriber\MetadataEventSubscriber::getSubscribedEvents()

File

modules/src/EventSubscriber/MetadataEventSubscriber.php, line 19

Class

MetadataEventSubscriber

Namespace

Drupal\filebrowser_extra\EventSubscriber

Code

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