You are here

public static function FileCacheFactory::setConfiguration in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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.

5 calls to FileCacheFactory::setConfiguration()
DrupalKernel::boot in core/lib/Drupal/Core/DrupalKernel.php
Boots the current kernel.
FileCacheFactoryTest::setUp in core/tests/Drupal/Tests/Component/FileCache/FileCacheFactoryTest.php
FileCacheFactoryTest::testGetSetConfiguration in core/tests/Drupal/Tests/Component/FileCache/FileCacheFactoryTest.php
@covers ::getConfiguration @covers ::setConfiguration
KernelTestBase::initFileCache in core/tests/Drupal/KernelTests/KernelTestBase.php
Initializes the FileCache component.
UnitTestCase::setUp in core/tests/Drupal/Tests/UnitTestCase.php

File

core/lib/Drupal/Component/FileCache/FileCacheFactory.php, line 80
Contains \Drupal\Component\FileCache\FileCacheFactory.

Class

FileCacheFactory
Creates a FileCache object.

Namespace

Drupal\Component\FileCache

Code

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