Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. EntityFieldRenderer.php

function 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\Render

Code

public function getCacheContexts() {
    return $this->getEntityTranslationRenderer()
        ->getCacheContexts();
}
RSS feed
Powered by Drupal