function GenericCacheBackendUnitTestBase::setUpCacheBackend

Same name in this branch
  1. 8.9.x core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php \Drupal\KernelTests\Core\Cache\GenericCacheBackendUnitTestBase::setUpCacheBackend()
Same name in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php \Drupal\KernelTests\Core\Cache\GenericCacheBackendUnitTestBase::setUpCacheBackend()
  2. 10 core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php \Drupal\KernelTests\Core\Cache\GenericCacheBackendUnitTestBase::setUpCacheBackend()
  3. 11.x core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php \Drupal\KernelTests\Core\Cache\GenericCacheBackendUnitTestBase::setUpCacheBackend()

Allows specific implementation to change the environment before a test run.

1 call to GenericCacheBackendUnitTestBase::setUpCacheBackend()
GenericCacheBackendUnitTestBase::setUp in core/modules/system/src/Tests/Cache/GenericCacheBackendUnitTestBase.php
Performs setup tasks before each individual test method is run.

File

core/modules/system/src/Tests/Cache/GenericCacheBackendUnitTestBase.php, line 79

Class

GenericCacheBackendUnitTestBase
Tests any cache backend.

Namespace

Drupal\system\Tests\Cache

Code

public function setUpCacheBackend() {
}

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