interface VariationCacheFactoryInterface

Same name and namespace in other branches
  1. 10 core/lib/Drupal/Core/Cache/VariationCacheFactoryInterface.php \Drupal\Core\Cache\VariationCacheFactoryInterface

An interface defining variation cache factory classes.

Hierarchy

Expanded class hierarchy of VariationCacheFactoryInterface

All classes that implement VariationCacheFactoryInterface

2 files declare their use of VariationCacheFactoryInterface
PlaceholderingRenderCache.php in core/lib/Drupal/Core/Render/PlaceholderingRenderCache.php
RenderCache.php in core/lib/Drupal/Core/Render/RenderCache.php

File

core/lib/Drupal/Core/Cache/VariationCacheFactoryInterface.php, line 8

Namespace

Drupal\Core\Cache
View source
interface VariationCacheFactoryInterface {
    
    /**
     * Gets a variation cache backend for a given cache bin.
     *
     * @param string $bin
     *   The cache bin for which a variation cache backend should be returned.
     *
     * @return \Drupal\Core\Cache\VariationCacheInterface
     *   The variation cache backend associated with the specified bin.
     */
    public function get($bin);

}

Members

Title Sort descending Modifiers Object type Summary Overrides
VariationCacheFactoryInterface::get public function Gets a variation cache backend for a given cache bin. 1

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.