Skip to content
Snippets Groups Projects
Commit da5fba74 authored by Larry Garfield's avatar Larry Garfield
Browse files

Push HTML listeners even later.

parent 6673e6ca
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -98,11 +98,11 @@ public function onView(GetResponseEvent $event) {
static function getSubscribedEvents() {
// Since we want HTML to be our default, catch-all response type, give its
// listeners a very low priority so that they always check last.
$events[KernelEvents::EXCEPTION][] = array('onNotFoundHttpException', 5);
$events[KernelEvents::EXCEPTION][] = array('onAccessDeniedException', 5);
$events[KernelEvents::EXCEPTION][] = array('onMethodAllowedException', 5);
$events[KernelEvents::EXCEPTION][] = array('onNotFoundHttpException', -5);
$events[KernelEvents::EXCEPTION][] = array('onAccessDeniedException', -5);
$events[KernelEvents::EXCEPTION][] = array('onMethodAllowedException', -5);
$events[KernelEvents::VIEW][] = array('onView', 5);
$events[KernelEvents::VIEW][] = array('onView', -5);
return $events;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment