public static function CourseContentEventSubscriber::getSubscribedEvents in Course 3.x
Same name and namespace in other branches
- 8.3 modules/course_content/src/EventSubscriber/CourseContentEventSubscriber.php \Drupal\course_content\EventSubscriber\CourseContentEventSubscriber::getSubscribedEvents()
- 8.2 modules/course_content/src/EventSubscriber/CourseContentEventSubscriber.php \Drupal\course_content\EventSubscriber\CourseContentEventSubscriber::getSubscribedEvents()
Set the priority to 28 so we run in time for the dynamic cache.
File
- modules/
course_content/ src/ EventSubscriber/ CourseContentEventSubscriber.php, line 19
Class
Namespace
Drupal\course_content\EventSubscriberCode
public static function getSubscribedEvents() {
return [
KernelEvents::REQUEST => [
'onRequest',
28,
],
];
}