function RendererBase::getCacheContexts
Same name in other branches
- 9 core/modules/views/src/Entity/Render/RendererBase.php \Drupal\views\Entity\Render\RendererBase::getCacheContexts()
- 8.9.x core/modules/views/src/Entity/Render/RendererBase.php \Drupal\views\Entity\Render\RendererBase::getCacheContexts()
- 10 core/modules/views/src/Entity/Render/RendererBase.php \Drupal\views\Entity\Render\RendererBase::getCacheContexts()
Overrides CacheableDependencyInterface::getCacheContexts
2 methods override RendererBase::getCacheContexts()
- EntityFieldRenderer::getCacheContexts in core/
modules/ views/ src/ Entity/ Render/ EntityFieldRenderer.php - TranslationLanguageRenderer::getCacheContexts in core/
modules/ views/ src/ Entity/ Render/ TranslationLanguageRenderer.php
File
-
core/
modules/ views/ src/ Entity/ Render/ RendererBase.php, line 72
Class
- RendererBase
- Defines a base class for entity renderers.
Namespace
Drupal\views\Entity\RenderCode
public function getCacheContexts() {
return [];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.