DrupalKernel::$defaultBootstrapContainerDefinition
Same name in other branches
- 8.9.x core/lib/Drupal/Core/DrupalKernel.php \Drupal\Core\DrupalKernel::defaultBootstrapContainerDefinition
- 10 core/lib/Drupal/Core/DrupalKernel.php \Drupal\Core\DrupalKernel::defaultBootstrapContainerDefinition
- 11.x 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 73
Class
- DrupalKernel
- The DrupalKernel class is the core of Drupal itself.
Namespace
Drupal\CoreCode
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',
],
],
],
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.