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

Breadcrumb

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

function PlaceholderingRenderCache::__construct

Constructs a new PlaceholderingRenderCache object.

Parameters

\Symfony\Component\HttpFoundation\RequestStack $requestStack: The request stack.

\Drupal\Core\Cache\VariationCacheFactoryInterface $cacheFactory: The variation cache factory.

\Drupal\Core\Cache\Context\CacheContextsManager $cacheContextsManager: The cache contexts manager.

\Drupal\Core\Render\PlaceholderGeneratorInterface $placeholderGenerator: The placeholder generator.

Overrides RenderCache::__construct

File

core/lib/Drupal/Core/Render/PlaceholderingRenderCache.php, line 79

Class

PlaceholderingRenderCache
Adds automatic placeholdering to the RenderCache.

Namespace

Drupal\Core\Render

Code

public function __construct(RequestStack $requestStack, VariationCacheFactoryInterface $cacheFactory, CacheContextsManager $cacheContextsManager, PlaceholderGeneratorInterface $placeholderGenerator) {
    parent::__construct($requestStack, $cacheFactory, $cacheContextsManager);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal