You are here

public static function LanguagePathSubscriber::getSubscribedEvents in Tome 8

File

modules/tome_static/src/EventSubscriber/LanguagePathSubscriber.php, line 98

Class

LanguagePathSubscriber
Adds language negotiation URL prefixes to the list of paths to export.

Namespace

Drupal\tome_static\EventSubscriber

Code

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