You are here

public static function RedirectPathSubscriber::getSubscribedEvents in Tome 8

File

modules/tome_static/src/EventSubscriber/RedirectPathSubscriber.php, line 107

Class

RedirectPathSubscriber
Adds redirect placeholder paths to the list of paths to export.

Namespace

Drupal\tome_static\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[TomeStaticEvents::COLLECT_PATHS][] = [
    'collectPaths',
  ];
  $events[TomeStaticEvents::PATH_PLACEHOLDER][] = [
    'replacePathPlaceholder',
  ];
  return $events;
}