You are here

public static function MediaOembedPathSubscriber::getSubscribedEvents in Tome 8

File

modules/tome_static/src/EventSubscriber/MediaOembedPathSubscriber.php, line 73

Class

MediaOembedPathSubscriber
Converts Media OEmbed 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;
}