function FileCacheFactory::getPrefix

Returns the cache prefix.

Return value

string The cache prefix.

3 calls to FileCacheFactory::getPrefix()
FileCacheFactory::get in core/lib/Drupal/Component/FileCache/FileCacheFactory.php
Instantiates a FileCache object for a given collection identifier.
FileCacheFactoryTest::testGetSetPrefix in core/tests/Drupal/Tests/Component/FileCache/FileCacheFactoryTest.php
@covers ::getPrefix[[api-linebreak]] @covers ::setPrefix[[api-linebreak]]
KernelTestBaseTest::testSetUp in core/tests/Drupal/KernelTests/KernelTestBaseTest.php
@covers ::setUp[[api-linebreak]]

File

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

Class

FileCacheFactory
Creates a FileCache object.

Namespace

Drupal\Component\FileCache

Code

public static function getPrefix() {
  return static::$prefix;
}

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