function DrupalKernel::getKernelParameters

Same name in other branches
  1. 9 core/lib/Drupal/Core/DrupalKernel.php \Drupal\Core\DrupalKernel::getKernelParameters()
  2. 10 core/lib/Drupal/Core/DrupalKernel.php \Drupal\Core\DrupalKernel::getKernelParameters()
  3. 11.x 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 869

Class

DrupalKernel
The DrupalKernel class is the core of Drupal itself.

Namespace

Drupal\Core

Code

protected function getKernelParameters() {
    return [
        'kernel.environment' => $this->environment,
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.