function DrupalKernelInterface::prepareLegacyRequest

Prepare the kernel for handling a request without handling the request.

Parameters

\Symfony\Component\HttpFoundation\Request $request: The current request.

Return value

$this

Deprecated

in drupal:8.0.0 and is removed from drupal:9.0.0. Use DrupalKernel::boot() and DrupalKernel::preHandle() instead.

See also

https://www.drupal.org/node/3070678

1 method overrides DrupalKernelInterface::prepareLegacyRequest()
DrupalKernel::prepareLegacyRequest in core/lib/Drupal/Core/DrupalKernel.php
Prepare the kernel for handling a request without handling the request.

File

core/lib/Drupal/Core/DrupalKernelInterface.php, line 140

Class

DrupalKernelInterface
The interface for DrupalKernel, the core of Drupal.

Namespace

Drupal\Core

Code

public function prepareLegacyRequest(Request $request);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.