function MediaResourceTestBase::getExpectedCacheContexts
Same name in other branches
- 10 core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php \Drupal\Tests\media\Functional\Rest\MediaResourceTestBase::getExpectedCacheContexts()
Overrides EntityResourceTestBase::getExpectedCacheContexts
File
-
core/
modules/ media/ tests/ src/ Functional/ Rest/ MediaResourceTestBase.php, line 315
Class
Namespace
Drupal\Tests\media\Functional\RestCode
protected function getExpectedCacheContexts() {
return [
'languages:language_interface',
'url.site',
'user.permissions',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.