DrupalKernel::$defaultBootstrapContainerDefinition
Same name in other branches
- 9 core/lib/Drupal/Core/DrupalKernel.php \Drupal\Core\DrupalKernel::defaultBootstrapContainerDefinition
- 8.9.x 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 71
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',
],
],
'request_stack' => [
'class' => 'Symfony\\Component\\HttpFoundation\\RequestStack',
],
'datetime.time' => [
'class' => 'Drupal\\Component\\Datetime\\Time',
'arguments' => [
'@request_stack',
],
],
'cache.container' => [
'class' => 'Drupal\\Core\\Cache\\DatabaseBackend',
'arguments' => [
'@database',
'@cache_tags_provider.container',
'container',
'@serialization.phpserialize',
'@datetime.time',
DatabaseBackend::MAXIMUM_NONE,
],
],
'cache_tags_provider.container' => [
'class' => 'Drupal\\Core\\Cache\\DatabaseCacheTagsChecksum',
'arguments' => [
'@database',
],
],
'serialization.phpserialize' => [
'class' => PhpSerialize::class,
],
],
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.