Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. DrupalKernel.php

function DrupalKernel::getHttpKernel

Gets a http kernel from the container.

Return value

\Symfony\Component\HttpKernel\HttpKernelInterface

1 call to DrupalKernel::getHttpKernel()
DrupalKernel::terminate in core/lib/Drupal/Core/DrupalKernel.php
Terminates a request/response cycle.

File

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

Class

DrupalKernel
The DrupalKernel class is the core of Drupal itself.

Namespace

Drupal\Core

Code

protected function getHttpKernel() {
    return $this->container
        ->get('http_kernel');
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal