You are here

public static function MetadataEventSubscriber::getSubscribedEvents in Filebrowser 3.x

Same name in this branch
  1. 3.x src/EventSubscriber/MetadataEventSubscriber.php \Drupal\filebrowser\EventSubscriber\MetadataEventSubscriber::getSubscribedEvents()
  2. 3.x modules/src/EventSubscriber/MetadataEventSubscriber.php \Drupal\filebrowser_extra\EventSubscriber\MetadataEventSubscriber::getSubscribedEvents()
Same name and namespace in other branches
  1. 8.2 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;
}