AliasManager::setCacheKey

public AliasManager::setCacheKey($key)

Specify the key to use when writing the cache.

Overrides CacheDecoratorInterface::setCacheKey

File

core/lib/Drupal/Core/Path/AliasManager.php, line 117

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;
}
doc_Drupal
2016-10-29 08:44:10
Comments
Leave a Comment

Please login to continue.