You are here

public static function ExcludePathSubscriber::getSubscribedEvents in Tome 8

File

modules/tome_static/src/EventSubscriber/ExcludePathSubscriber.php, line 80

Class

ExcludePathSubscriber
Excludes a paths from static generation.

Namespace

Drupal\tome_static\EventSubscriber

Code

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