DrupalKernel::$defaultBootstrapContainerDefinition

Holds the default bootstrap container definition.

Type: array

File

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

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'],
    ],
    'cache_tags_provider.container' => [
      'class' => 'Drupal\Core\Cache\DatabaseCacheTagsChecksum',
      'arguments' => ['@database'],
    ],
  ],
];
doc_Drupal
2016-10-29 09:02:56
Comments
Leave a Comment

Please login to continue.