protected function BlockResourceTestBase::getExpectedCacheContexts in Drupal 10
Same name and namespace in other branches
- 8 core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php \Drupal\Tests\block\Functional\Rest\BlockResourceTestBase::getExpectedCacheContexts()
- 9 core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php \Drupal\Tests\block\Functional\Rest\BlockResourceTestBase::getExpectedCacheContexts()
File
- core/
modules/ block/ tests/ src/ Functional/ Rest/ BlockResourceTestBase.php, line 118
Class
Namespace
Drupal\Tests\block\Functional\RestCode
protected function getExpectedCacheContexts() {
// @see ::createEntity()
return [
'url.site',
];
}