public static function CookieMonster::getSubscribedEvents in Bakery Single Sign-On System 8.2
Registers the methods in this class that should be listeners.
Return value
array An array of event listener definitions.
File
- src/
EventSubscriber/ CookieMonster.php, line 112
Class
- CookieMonster
- C is for cookie, its good enough for me.
Namespace
Drupal\bakery\EventSubscriberCode
public static function getSubscribedEvents() {
$events[KernelEvents::RESPONSE][] = [
'meWantCookie',
-1000,
];
return $events;
}