public static function ClientIpRestore::getSubscribedEvents in CloudFlare 8
File
- src/
EventSubscriber/ ClientIpRestore.php, line 91
Class
- ClientIpRestore
- Restores the true client Ip address.
Namespace
Drupal\cloudflare\EventSubscriberCode
public static function getSubscribedEvents() {
$events[KernelEvents::REQUEST][] = [
'onRequest',
20,
];
return $events;
}