You are here

protected property DrupalKernel::$defaultBootstrapContainerDefinition in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/DrupalKernel.php \Drupal\Core\DrupalKernel::defaultBootstrapContainerDefinition
  2. 10 core/lib/Drupal/Core/DrupalKernel.php \Drupal\Core\DrupalKernel::defaultBootstrapContainerDefinition

Holds the default bootstrap container definition.

Type: array

File

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

Class

DrupalKernel
The DrupalKernel class is the core of Drupal itself.

Namespace

Drupal\Core

Code

protected $defaultBootstrapContainerDefinition = [
  'parameters' => [],
  'services' => [
    'database' => [
      'class' => 'Drupal\\Core\\Database\\Connection',
      'factory' => 'Drupal\\Core\\Database\\Database::getConnection',
      'arguments' => [
        'default',
      ],
    ],
    'cache.container' => [
      'class' => 'Drupal\\Core\\Cache\\DatabaseBackend',
      'arguments' => [
        '@database',
        '@cache_tags_provider.container',
        'container',
        DatabaseBackend::MAXIMUM_NONE,
      ],
    ],
    'cache_tags_provider.container' => [
      'class' => 'Drupal\\Core\\Cache\\DatabaseCacheTagsChecksum',
      'arguments' => [
        '@database',
      ],
    ],
  ],
];