function DefaultContentSubscriber::getSubscribedEvents

File

core/modules/path/src/EventSubscriber/DefaultContentSubscriber.php, line 27

Class

DefaultContentSubscriber
Subscribes to default content-related events.

Namespace

Drupal\path\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.