protected function DrupalKernel::getKernelParameters in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/DrupalKernel.php \Drupal\Core\DrupalKernel::getKernelParameters()
- 9 core/lib/Drupal/Core/DrupalKernel.php \Drupal\Core\DrupalKernel::getKernelParameters()
Returns the kernel parameters.
Return value
array An array of kernel parameters
1 call to DrupalKernel::getKernelParameters()
- DrupalKernel::getContainerBuilder in core/
lib/ Drupal/ Core/ DrupalKernel.php - Gets a new ContainerBuilder instance used to build the service container.
File
- core/
lib/ Drupal/ Core/ DrupalKernel.php, line 811
Class
- DrupalKernel
- The DrupalKernel class is the core of Drupal itself.
Namespace
Drupal\CoreCode
protected function getKernelParameters() {
return [
'kernel.environment' => $this->environment,
];
}