function AliasManager::setCacheKey

File

core/modules/path_alias/src/AliasManager.php, line 129

Class

AliasManager
The default alias manager implementation.

Namespace

Drupal\path_alias

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.