public static function FinalExceptionSubscriber::getSubscribedEvents in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/EventSubscriber/FinalExceptionSubscriber.php \Drupal\Core\EventSubscriber\FinalExceptionSubscriber::getSubscribedEvents()
- 10 core/lib/Drupal/Core/EventSubscriber/FinalExceptionSubscriber.php \Drupal\Core\EventSubscriber\FinalExceptionSubscriber::getSubscribedEvents()
File
- core/
lib/ Drupal/ Core/ EventSubscriber/ FinalExceptionSubscriber.php, line 145
Class
- FinalExceptionSubscriber
- Last-chance handler for exceptions: the final exception subscriber.
Namespace
Drupal\Core\EventSubscriberCode
public static function getSubscribedEvents() {
// Run as the final (very late) KernelEvents::EXCEPTION subscriber.
$events[KernelEvents::EXCEPTION][] = [
'onException',
-256,
];
return $events;
}