function DefaultContentSubscriber::getSubscribedEvents

File

core/modules/file/src/EventSubscriber/DefaultContentSubscriber.php, line 25

Class

DefaultContentSubscriber
Subscribes to default content-related events.

Namespace

Drupal\file\EventSubscriber

Code

public static function getSubscribedEvents() : array {
  return [
    PreExportEvent::class => 'preExport',
  ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.