public static function RedirectOnAccessDeniedSubscriber::getSubscribedEvents in Opigno dashboard 8
Same name and namespace in other branches
- 3.x src/EventSubscriber/RedirectOnAccessDeniedSubscriber.php \Drupal\opigno_dashboard\EventSubscriber\RedirectOnAccessDeniedSubscriber::getSubscribedEvents()
File
- src/
EventSubscriber/ RedirectOnAccessDeniedSubscriber.php, line 76
Class
- RedirectOnAccessDeniedSubscriber
- Class RedirectOnAccessDeniedSubscriber.
Namespace
Drupal\opigno_dashboard\EventSubscriberCode
public static function getSubscribedEvents() {
$events[KernelEvents::RESPONSE][] = [
'redirectOn403',
];
return $events;
}