Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Component/FileCache/FileCacheFactory.php \Drupal\Component\FileCache\FileCacheFactory::getConfiguration()
  2. 9 core/lib/Drupal/Component/FileCache/FileCacheFactory.php \Drupal\Component\FileCache\FileCacheFactory::getConfiguration()

Gets the configuration used for constructing future file cache objects.

Return value

array The configuration that is used.

2 calls to FileCacheFactory::getConfiguration()
FileCacheFactoryTest::testGetDisabledFileCache in core/tests/Drupal/Tests/Component/FileCache/FileCacheFactoryTest.php
@covers ::get
FileCacheFactoryTest::testGetSetConfiguration in core/tests/Drupal/Tests/Component/FileCache/FileCacheFactoryTest.php
@covers ::getConfiguration @covers ::setConfiguration

File

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

Class

FileCacheFactory
Creates a FileCache object.

Namespace

Drupal\Component\FileCache

Code

public static function getConfiguration() {
  return static::$configuration;
}