DrupalKernel::getHttpKernel

protected DrupalKernel::getHttpKernel()

Gets a http kernel from the container

Return value

\Symfony\Component\HttpKernel\HttpKernelInterface

File

core/lib/Drupal/Core/DrupalKernel.php, line 1319

Class

DrupalKernel
The DrupalKernel class is the core of Drupal itself.

Namespace

Drupal\Core

Code

1
2
3
protected function getHttpKernel() {
  return $this->container->get('http_kernel');
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.