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