You are here

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\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[KernelEvents::REQUEST][] = [
    'onRequest',
    20,
  ];
  return $events;
}