public static function DomainSubscriber::getSubscribedEvents in Domain Access 8
File
- domain/
src/ EventSubscriber/ DomainSubscriber.php, line 134
Class
- DomainSubscriber
- Sets the domain context for an http request.
Namespace
Drupal\domain\EventSubscriberCode
public static function getSubscribedEvents() {
// This needs to fire very early in the stack, before accounts are cached.
$events[KernelEvents::REQUEST][] = [
'onKernelRequestDomain',
50,
];
return $events;
}