interface VariationCacheFactoryInterface

Same name in other branches
  1. 11.x 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

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.