W3cubDocs

/Drupal 8

public function CacheDecoratorInterface::setCacheKey

public CacheDecoratorInterface::setCacheKey($key)

Specify the key to use when writing the cache.

File

core/lib/Drupal/Core/CacheDecorator/CacheDecoratorInterface.php, line 13

Class

CacheDecoratorInterface
Defines an interface for cache decorator implementations.

Namespace

Drupal\Core\CacheDecorator

Code

public function setCacheKey($key);

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!CacheDecorator!CacheDecoratorInterface.php/function/CacheDecoratorInterface::setCacheKey/8.1.x