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;
}
Please login to continue.