public static function ResponseSubscriber::getSubscribedEvents in Moderation Dashboard 8
Same name and namespace in other branches
- 2.0.x src/Routing/ResponseSubscriber.php \Drupal\moderation_dashboard\Routing\ResponseSubscriber::getSubscribedEvents()
File
- src/
Routing/ ResponseSubscriber.php, line 89
Class
- ResponseSubscriber
- Response subscriber to redirect user login to the Moderation Dashboard.
Namespace
Drupal\moderation_dashboard\RoutingCode
public static function getSubscribedEvents() {
$events[KernelEvents::RESPONSE][] = [
'onResponse',
100,
];
return $events;
}