public function DrupalKernelInterface::prepareLegacyRequest in Drupal 8
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\CoreCode
public function prepareLegacyRequest(Request $request);