function KernelTestDrupalKernel::setOverrideUseCache
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Test/KernelTestDrupalKernel.php \Drupal\Core\Test\KernelTestDrupalKernel::setOverrideUseCache()
Sets whether the container should be retrieved from cache.
File
-
core/
lib/ Drupal/ Core/ Test/ KernelTestDrupalKernel.php, line 49
Class
- KernelTestDrupalKernel
- Subclass of DrupalKernel for kernel testing.
Namespace
Drupal\Core\TestCode
public function setOverrideUseCache(bool $use) : void {
$this->overrideUseCache = $use;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.