public static function StaticPreviewRequestSubscriber::getSubscribedEvents in Tome 8
File
- modules/
tome_static/ src/ EventSubscriber/ StaticPreviewRequestSubscriber.php, line 114
Class
- StaticPreviewRequestSubscriber
- Routes valid requests to the static build.
Namespace
Drupal\tome_static\EventSubscriberCode
public static function getSubscribedEvents() {
$events = [];
$events[KernelEvents::REQUEST][] = [
'onRequest',
30,
];
return $events;
}