W3cubDocs

/Drupal 8

public function DrupalKernelInterface::prepareLegacyRequest

public DrupalKernelInterface::prepareLegacyRequest(Request $request)

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.x and will be removed before 9.0.0. Only used by legacy front-controller scripts.

File

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

Class

DrupalKernelInterface
The interface for DrupalKernel, the core of Drupal.

Namespace

Drupal\Core

Code

public function prepareLegacyRequest(Request $request);

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!DrupalKernelInterface.php/function/DrupalKernelInterface::prepareLegacyRequest/8.1.x