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