public static function M4032404EventSubscriber::getSubscribedEvents in 403 to 404 8
Registers the methods in this class that should be listeners.
Return value
array An array of event listener definitions.
File
- src/
EventSubscriber/ M4032404EventSubscriber.php, line 79
Class
- M4032404EventSubscriber
- Provides a subscriber to set the properly exception.
Namespace
Drupal\m4032404\EventSubscriberCode
public static function getSubscribedEvents() {
$events[KernelEvents::EXCEPTION][] = array(
'onAccessDeniedException',
50,
);
return $events;
}