public static function KernelEventListener::getSubscribedEvents in Permissions by Term 8.2
Same name and namespace in other branches
- 8 src/Listener/KernelEventListener.php \Drupal\permissions_by_term\Listener\KernelEventListener::getSubscribedEvents()
The subscribed events.
File
- src/
Listener/ KernelEventListener.php, line 138
Class
- KernelEventListener
- Class KernelEventListener.
Namespace
Drupal\permissions_by_term\ListenerCode
public static function getSubscribedEvents() : array {
return [
KernelEvents::REQUEST => 'onKernelRequest',
KernelEvents::RESPONSE => 'onKernelResponse',
];
}