protected function CommentResourceTestBase::getExpectedCacheContexts in Drupal 10
Same name and namespace in other branches
- 8 core/modules/comment/tests/src/Functional/Rest/CommentResourceTestBase.php \Drupal\Tests\comment\Functional\Rest\CommentResourceTestBase::getExpectedCacheContexts()
- 9 core/modules/comment/tests/src/Functional/Rest/CommentResourceTestBase.php \Drupal\Tests\comment\Functional\Rest\CommentResourceTestBase::getExpectedCacheContexts()
File
- core/
modules/ comment/ tests/ src/ Functional/ Rest/ CommentResourceTestBase.php, line 271
Class
Namespace
Drupal\Tests\comment\Functional\RestCode
protected function getExpectedCacheContexts() {
return Cache::mergeContexts([
'languages:language_interface',
'theme',
], parent::getExpectedCacheContexts());
}