function RestResourceConfigResourceTestBase::getExpectedCacheContexts
Same name in other branches
- 9 core/modules/rest/tests/src/Functional/Rest/RestResourceConfigResourceTestBase.php \Drupal\Tests\rest\Functional\Rest\RestResourceConfigResourceTestBase::getExpectedCacheContexts()
- 10 core/modules/rest/tests/src/Functional/Rest/RestResourceConfigResourceTestBase.php \Drupal\Tests\rest\Functional\Rest\RestResourceConfigResourceTestBase::getExpectedCacheContexts()
- 11.x core/modules/rest/tests/src/Functional/Rest/RestResourceConfigResourceTestBase.php \Drupal\Tests\rest\Functional\Rest\RestResourceConfigResourceTestBase::getExpectedCacheContexts()
Overrides EntityResourceTestBase::getExpectedCacheContexts
File
-
core/
modules/ rest/ tests/ src/ Functional/ Rest/ RestResourceConfigResourceTestBase.php, line 97
Class
Namespace
Drupal\Tests\rest\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.