public function IpBanSubscriber::hookInit in IP Ban 8
Sets the ban value and action for authenticated users.
Parameters
\Symfony\Component\HttpKernel\Event\GetResponseEvent $event: The event to process.
File
- src/EventSubscriber/ IpBanSubscriber.php, line 49 
- Contains \Drupal\ip_ban\EventSubscriber\IpBanSubscriber.
Class
Namespace
Drupal\ip_ban\EventSubscriberCode
public function hookInit(GetResponseEvent $event) {
  // \Drupal::service("router.builder")->rebuild();
  $this->iPBanManager
    ->iPBanSetValue();
  $this->iPBanManager
    ->iPBanDetermineAction();
}