function Cookie::getSubscribedEvents
Registers the methods in this class that should be listeners.
Return value
array An array of event listener definitions.
File
-
core/
modules/ user/ src/ Authentication/ Provider/ Cookie.php, line 157
Class
- Cookie
- Cookie based authentication provider.
Namespace
Drupal\user\Authentication\ProviderCode
public static function getSubscribedEvents() {
$events[KernelEvents::RESPONSE][] = [
'addCheckToUrl',
-1000,
];
return $events;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.