function RdfMappingResourceTestBase::getExpectedCacheContexts
The expected cache contexts for the GET/HEAD response of the test entity.
Return value
string[]
Overrides EntityResourceTestBase::getExpectedCacheContexts
File
-
core/
modules/ rdf/ tests/ src/ Functional/ Rest/ RdfMappingResourceTestBase.php, line 120
Class
Namespace
Drupal\Tests\rdf\Functional\RestCode
protected function getExpectedCacheContexts() {
return [
'user.permissions',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.