function ViewResourceTestBase::getExpectedCacheContexts
Overrides EntityResourceTestBase::getExpectedCacheContexts
File
-
core/
modules/ views/ tests/ src/ Functional/ Rest/ ViewResourceTestBase.php, line 92
Class
Namespace
Drupal\Tests\views\Functional\RestCode
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.