function MenuLinkContentResourceTestBase::getExpectedCacheContexts
Same name in other branches
- 11.x core/modules/menu_link_content/tests/src/Functional/Rest/MenuLinkContentResourceTestBase.php \Drupal\Tests\menu_link_content\Functional\Rest\MenuLinkContentResourceTestBase::getExpectedCacheContexts()
Overrides EntityResourceTestBase::getExpectedCacheContexts
File
-
core/
modules/ menu_link_content/ tests/ src/ Functional/ Rest/ MenuLinkContentResourceTestBase.php, line 237
Class
- MenuLinkContentResourceTestBase
- ResourceTestBase for MenuLinkContent entity.
Namespace
Drupal\Tests\menu_link_content\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.