function EntityFieldRenderer::getCacheContexts
Same name in other branches
- 8.9.x core/modules/views/src/Entity/Render/EntityFieldRenderer.php \Drupal\views\Entity\Render\EntityFieldRenderer::getCacheContexts()
- 10 core/modules/views/src/Entity/Render/EntityFieldRenderer.php \Drupal\views\Entity\Render\EntityFieldRenderer::getCacheContexts()
- 11.x core/modules/views/src/Entity/Render/EntityFieldRenderer.php \Drupal\views\Entity\Render\EntityFieldRenderer::getCacheContexts()
Overrides RendererBase::getCacheContexts
File
-
core/
modules/ views/ src/ Entity/ Render/ EntityFieldRenderer.php, line 81
Class
- EntityFieldRenderer
- Renders entity fields.
Namespace
Drupal\views\Entity\RenderCode
public function getCacheContexts() {
return $this->getEntityTranslationRenderer()
->getCacheContexts();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.