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