public static function FileResponseSubscriber::getSubscribedEvents in Commerce File 8.2
File
- src/
EventSubscriber/ FileResponseSubscriber.php, line 68
Class
- FileResponseSubscriber
- A subscriber to log downloads of licensed files.
Namespace
Drupal\commerce_file\EventSubscriberCode
public static function getSubscribedEvents() {
$events[KernelEvents::TERMINATE][] = [
'logFileDownload',
100,
];
return $events;
}