You are here

public function AliasManager::setCacheKey in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Path/AliasManager.php \Drupal\Core\Path\AliasManager::setCacheKey()

Specify the key to use when writing the cache.

Overrides CacheDecoratorInterface::setCacheKey

File

core/lib/Drupal/Core/Path/AliasManager.php, line 122
Contains \Drupal\Core\Path\AliasManager.

Class

AliasManager
The default alias manager implementation.

Namespace

Drupal\Core\Path

Code

public function setCacheKey($key) {

  // Prefix the cache key to avoid clashes with other caches.
  $this->cacheKey = 'preload-paths:' . $key;
}