protected function GenericCacheBackendUnitTestBase::getTestBin in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/system/src/Tests/Cache/GenericCacheBackendUnitTestBase.php \Drupal\system\Tests\Cache\GenericCacheBackendUnitTestBase::getTestBin()
Gets the testing bin.
Override this method if you want to work on a different bin than the default one.
Return value
string Bin name.
2 calls to GenericCacheBackendUnitTestBase::getTestBin()
- ApcuBackendUnitTest::testSetGet in core/
modules/ system/ src/ Tests/ Cache/ ApcuBackendUnitTest.php - Tests the get and set methods of Drupal\Core\Cache\CacheBackendInterface.
- GenericCacheBackendUnitTestBase::getCacheBackend in core/
modules/ system/ src/ Tests/ Cache/ GenericCacheBackendUnitTestBase.php - Gets a backend to test; this will get a shared instance set in the object.
File
- core/
modules/ system/ src/ Tests/ Cache/ GenericCacheBackendUnitTestBase.php, line 56 - Contains \Drupal\system\Tests\Cache\GenericCacheBackendUnitTestBase.
Class
- GenericCacheBackendUnitTestBase
- Tests any cache backend.
Namespace
Drupal\system\Tests\CacheCode
protected function getTestBin() {
if (!isset($this->testBin)) {
$this->testBin = 'page';
}
return $this->testBin;
}