public static function CourseEventSubscriber::getSubscribedEvents in Course 3.x
Same name and namespace in other branches
- 8.3 src/EventSubscriber/CourseEventSubscriber.php \Drupal\course\EventSubscriber\CourseEventSubscriber::getSubscribedEvents()
- 8.2 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,
],
];
}