function FileCacheFactory::setConfiguration

Same name in other branches
  1. 9 core/lib/Drupal/Component/FileCache/FileCacheFactory.php \Drupal\Component\FileCache\FileCacheFactory::setConfiguration()
  2. 8.9.x core/lib/Drupal/Component/FileCache/FileCacheFactory.php \Drupal\Component\FileCache\FileCacheFactory::setConfiguration()
  3. 11.x core/lib/Drupal/Component/FileCache/FileCacheFactory.php \Drupal\Component\FileCache\FileCacheFactory::setConfiguration()

Sets the configuration to use for constructing future file cache objects.

Parameters

array $configuration: The configuration to use.

13 calls to FileCacheFactory::setConfiguration()
AnnotatedClassDiscoveryCachedTest::setUp in core/tests/Drupal/Tests/Component/Annotation/AnnotatedClassDiscoveryCachedTest.php
AnnotatedClassDiscoveryTest::setUp in core/tests/Drupal/Tests/Component/Annotation/AnnotatedClassDiscoveryTest.php
AttributeClassDiscoveryCachedTest::setUp in core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryCachedTest.php
AttributeClassDiscoveryTest::setUp in core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryTest.php
DrupalKernel::boot in core/lib/Drupal/Core/DrupalKernel.php
Boots the current kernel.

... See full list

File

core/lib/Drupal/Component/FileCache/FileCacheFactory.php, line 92

Class

FileCacheFactory
Creates a FileCache object.

Namespace

Drupal\Component\FileCache

Code

public static function setConfiguration($configuration) {
    static::$configuration = $configuration;
}

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