function FileCacheFactory::getConfiguration

Same name in other branches
  1. 9 core/lib/Drupal/Component/FileCache/FileCacheFactory.php \Drupal\Component\FileCache\FileCacheFactory::getConfiguration()
  2. 10 core/lib/Drupal/Component/FileCache/FileCacheFactory.php \Drupal\Component\FileCache\FileCacheFactory::getConfiguration()
  3. 11.x 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;
}

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