public static FileCacheFactory::setPrefix($prefix)
Sets the cache prefix that should be used.
Should be set to a secure, unique key to prevent cache pollution by a third party.
Parameters
string $prefix: The cache prefix.
File
- core/lib/Drupal/Component/FileCache/FileCacheFactory.php, line 115
Class
- FileCacheFactory
- Creates a FileCache object.
Namespace
Drupal\Component\FileCache
Code
1 2 3 | public static function setPrefix( $prefix ) { static :: $prefix = $prefix ; } |
Please login to continue.