You are here

public static function EntityPathSubscriber::getSubscribedEvents in Tome 8

File

modules/tome_static/src/EventSubscriber/EntityPathSubscriber.php, line 127

Class

EntityPathSubscriber
Adds entity 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;
}