GarbageCollectionTest::$modules

Same name and namespace in other branches
  1. 8.9.x core/tests/Drupal/KernelTests/Core/KeyValueStore/GarbageCollectionTest.php \Drupal\KernelTests\Core\KeyValueStore\GarbageCollectionTest::modules
  2. 10 core/tests/Drupal/KernelTests/Core/KeyValueStore/GarbageCollectionTest.php \Drupal\KernelTests\Core\KeyValueStore\GarbageCollectionTest::modules
  3. 11.x core/tests/Drupal/KernelTests/Core/KeyValueStore/GarbageCollectionTest.php \Drupal\KernelTests\Core\KeyValueStore\GarbageCollectionTest::modules

Modules to enable.

Type: array

Overrides KernelTestBase::$modules

File

core/tests/Drupal/KernelTests/Core/KeyValueStore/GarbageCollectionTest.php, line 22

Class

GarbageCollectionTest
Tests garbage collection for the expirable key-value database storage.

Namespace

Drupal\KernelTests\Core\KeyValueStore

Code

protected static $modules = [
    'system',
];

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