public function AliasManager::setCacheKey in Drupal 10
Same name and namespace in other branches
- 9 core/modules/path_alias/src/AliasManager.php \Drupal\path_alias\AliasManager::setCacheKey()
File
- core/
modules/ path_alias/ src/ AliasManager.php, line 116
Class
- AliasManager
- The default alias manager implementation.
Namespace
Drupal\path_aliasCode
public function setCacheKey($key) {
// Prefix the cache key to avoid clashes with other caches.
$this->cacheKey = 'preload-paths:' . $key;
}