You are here

public static function FileCacheFactory::setConfiguration in Service Container 7

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

1 call to FileCacheFactory::setConfiguration()
ServiceContainerSymfonyServiceProvider::getContainerDefinition in modules/providers/service_container_symfony/src/ServiceContainer/ServiceProvider/ServiceContainerSymfonyServiceProvider.php
Gets a service container definition.

File

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;
}