KernelTestBase::$keyValue

Same name in other branches
  1. 9 core/tests/Drupal/KernelTests/KernelTestBase.php \Drupal\KernelTests\KernelTestBase::keyValue
  2. 10 core/tests/Drupal/KernelTests/KernelTestBase.php \Drupal\KernelTests\KernelTestBase::keyValue

The key_value service that must persist between container rebuilds.

Type: \Drupal\Core\KeyValueStore\KeyValueMemoryFactory

File

core/tests/Drupal/KernelTests/KernelTestBase.php, line 189

Class

KernelTestBase
Base class for functional integration tests.

Namespace

Drupal\KernelTests

Code

protected KeyValueMemoryFactory $keyValue;

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