function FileHalJsonAnonTest::getExpectedCacheContexts
Same name in other branches
- 8.9.x core/modules/file/tests/src/Functional/Hal/FileHalJsonAnonTest.php \Drupal\Tests\file\Functional\Hal\FileHalJsonAnonTest::getExpectedCacheContexts()
Overrides FileResourceTestBase::getExpectedCacheContexts
File
-
core/
modules/ hal/ tests/ src/ Functional/ file/ FileHalJsonAnonTest.php, line 105
Class
- FileHalJsonAnonTest
- @group hal @group legacy
Namespace
Drupal\Tests\hal\Functional\fileCode
protected function getExpectedCacheContexts() {
return [
'url.site',
'user.permissions',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.