function EditorResourceTestBase::getExpectedCacheContexts
Same name in other branches
- 9 core/modules/editor/tests/src/Functional/Rest/EditorResourceTestBase.php \Drupal\Tests\editor\Functional\Rest\EditorResourceTestBase::getExpectedCacheContexts()
- 10 core/modules/editor/tests/src/Functional/Rest/EditorResourceTestBase.php \Drupal\Tests\editor\Functional\Rest\EditorResourceTestBase::getExpectedCacheContexts()
- 11.x core/modules/editor/tests/src/Functional/Rest/EditorResourceTestBase.php \Drupal\Tests\editor\Functional\Rest\EditorResourceTestBase::getExpectedCacheContexts()
Overrides EntityResourceTestBase::getExpectedCacheContexts
File
-
core/
modules/ editor/ tests/ src/ Functional/ Rest/ EditorResourceTestBase.php, line 168
Class
- EditorResourceTestBase
- ResourceTestBase for Editor entity.
Namespace
Drupal\Tests\editor\Functional\RestCode
protected function getExpectedCacheContexts() {
// @see ::createEntity()
return [
'user.permissions',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.