protected function FieldStorageConfigResourceTestBase::getExpectedCacheContexts in Drupal 8
The expected cache contexts for the GET/HEAD response of the test entity.
Return value
string[]
Overrides EntityResourceTestBase::getExpectedCacheContexts
See also
::testGet
File
- core/
modules/ field/ tests/ src/ Functional/ Rest/ FieldStorageConfigResourceTestBase.php, line 98
Class
Namespace
Drupal\Tests\field\Functional\RestCode
protected function getExpectedCacheContexts() {
return [
'user.permissions',
];
}