StorageTestBase::$factory

Same name in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/KeyValueStore/StorageTestBase.php \Drupal\KernelTests\Core\KeyValueStore\StorageTestBase::factory
  2. 8.9.x core/tests/Drupal/KernelTests/Core/KeyValueStore/StorageTestBase.php \Drupal\KernelTests\Core\KeyValueStore\StorageTestBase::factory
  3. 11.x core/tests/Drupal/KernelTests/Core/KeyValueStore/StorageTestBase.php \Drupal\KernelTests\Core\KeyValueStore\StorageTestBase::factory

Whether we are using an expirable key/value store.

Type: bool

File

core/tests/Drupal/KernelTests/Core/KeyValueStore/StorageTestBase.php, line 33

Class

StorageTestBase
Base class for testing key-value storages.

Namespace

Drupal\KernelTests\Core\KeyValueStore

Code

protected $factory = 'keyvalue';

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