TestSetupTrait::$kernel

Same name in other branches
  1. 9 core/lib/Drupal/Core/Test/TestSetupTrait.php \Drupal\Core\Test\TestSetupTrait::kernel
  2. 8.9.x core/lib/Drupal/Core/Test/TestSetupTrait.php \Drupal\Core\Test\TestSetupTrait::kernel
  3. 10 core/lib/Drupal/Core/Test/TestSetupTrait.php \Drupal\Core\Test\TestSetupTrait::kernel

The DrupalKernel instance used in the test.

Type: \Drupal\Core\DrupalKernel

File

core/lib/Drupal/Core/Test/TestSetupTrait.php, line 81

Class

TestSetupTrait
Provides a trait for shared test setup functionality.

Namespace

Drupal\Core\Test

Code

protected $kernel;

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