public static function CourseEventSubscriber::getSubscribedEvents in Course 8.3
Same name and namespace in other branches
- 8.2 src/EventSubscriber/CourseEventSubscriber.php \Drupal\course\EventSubscriber\CourseEventSubscriber::getSubscribedEvents()
- 3.x src/EventSubscriber/CourseEventSubscriber.php \Drupal\course\EventSubscriber\CourseEventSubscriber::getSubscribedEvents()
File
- src/
EventSubscriber/ CourseEventSubscriber.php, line 14
Class
Namespace
Drupal\course\EventSubscriberCode
public static function getSubscribedEvents() {
return [
// Set priority to 28 so we can get around the page cache.
KernelEvents::REQUEST => [
'onRequest',
28,
],
];
}