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

Breadcrumb

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

function DrupalKernel::getCachedContainerDefinition

Overrides DrupalKernelInterface::getCachedContainerDefinition

1 call to DrupalKernel::getCachedContainerDefinition()
DrupalKernel::initializeContainer in core/lib/Drupal/Core/DrupalKernel.php
Initializes the service container.

File

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

Class

DrupalKernel
The DrupalKernel class is the core of Drupal itself.

Namespace

Drupal\Core

Code

public function getCachedContainerDefinition() {
    $cache = $this->bootstrapContainer
        ->get('cache.container')
        ->get($this->getContainerCacheKey());
    if ($cache) {
        return $cache->data;
    }
    return NULL;
}

API Navigation

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