You are here

public static function PagerPathSubscriber::getSubscribedEvents in Tome 8

File

modules/tome_static/src/EventSubscriber/PagerPathSubscriber.php, line 88

Class

PagerPathSubscriber
Converts pager query parameters to static paths.

Namespace

Drupal\tome_static\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[TomeStaticEvents::MODIFY_DESTINATION][] = [
    'modifyDestination',
  ];
  $events[TomeStaticEvents::MODIFY_HTML][] = [
    'modifyHtml',
  ];
  return $events;
}