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

Breadcrumb

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

function RendererBase::getCacheContexts

Overrides CacheableDependencyInterface::getCacheContexts

2 methods override RendererBase::getCacheContexts()
EntityFieldRenderer::getCacheContexts in core/modules/views/src/Entity/Render/EntityFieldRenderer.php
The cache contexts associated with this object.
TranslationLanguageRenderer::getCacheContexts in core/modules/views/src/Entity/Render/TranslationLanguageRenderer.php
The cache contexts associated with this object.

File

core/modules/views/src/Entity/Render/RendererBase.php, line 72

Class

RendererBase
Defines a base class for entity renderers.

Namespace

Drupal\views\Entity\Render

Code

public function getCacheContexts() {
    return [];
}
RSS feed
Powered by Drupal