You are here

public function KernelPreHandle::handle in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php \Drupal\Core\StackMiddleware\KernelPreHandle::handle()

File

core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php, line 44

Class

KernelPreHandle
Prepares the environment after page caching ran.

Namespace

Drupal\Core\StackMiddleware

Code

public function handle(Request $request, $type = self::MASTER_REQUEST, $catch = TRUE) {
  $this->drupalKernel
    ->preHandle($request);
  return $this->httpKernel
    ->handle($request, $type, $catch);
}