function ItemHalJsonTestBase::getExpectedCacheContexts
Same name in other branches
- 9 core/modules/hal/tests/src/Functional/aggregator/ItemHalJsonTestBase.php \Drupal\Tests\hal\Functional\aggregator\ItemHalJsonTestBase::getExpectedCacheContexts()
Overrides ItemResourceTestBase::getExpectedCacheContexts
File
-
core/
modules/ aggregator/ tests/ src/ Functional/ Hal/ ItemHalJsonTestBase.php, line 93
Class
- ItemHalJsonTestBase
- ResourceTestBase for Item entity.
Namespace
Drupal\Tests\aggregator\Functional\HalCode
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.