You are here

public function KernelEventListener::onKernelResponse in Permissions by Term 8.2

Same name and namespace in other branches
  1. 8 src/Listener/KernelEventListener.php \Drupal\permissions_by_term\Listener\KernelEventListener::onKernelResponse()

Restricts access on kernel response.

File

src/Listener/KernelEventListener.php, line 101

Class

KernelEventListener
Class KernelEventListener.

Namespace

Drupal\permissions_by_term\Listener

Code

public function onKernelResponse(FilterResponseEvent $event) {
  $this
    ->restrictTermAccessAtAutoCompletion($event);
}