function FileHalJsonAnonTest::getExpectedCacheContexts
Overrides FileResourceTestBase::getExpectedCacheContexts
File
-
core/
modules/ file/ tests/ src/ Functional/ Hal/ FileHalJsonAnonTest.php, line 113
Class
- FileHalJsonAnonTest
- @group hal
Namespace
Drupal\Tests\file\Functional\HalCode
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.