function AliasManagerInterface::cacheClear
Clears the static caches in alias manager and rebuilds the prefix list.
Parameters
string|null $source: Source path of the alias that is being inserted/updated. If omitted, the entire lookup static cache will be cleared and the prefix list will be rebuilt.
3 methods override AliasManagerInterface::cacheClear()
- AliasManager::cacheClear in core/modules/ path_alias/ src/ AliasManager.php 
- Clears the static caches in alias manager and rebuilds the prefix list.
- MockAliasManager::cacheClear in core/modules/ system/ src/ Tests/ Routing/ MockAliasManager.php 
- Clears the static caches in alias manager and rebuilds the prefix list.
- WorkspacesAliasManager::cacheClear in core/modules/ workspaces/ src/ WorkspacesAliasManager.php 
- Clears the static caches in alias manager and rebuilds the prefix list.
File
- 
              core/modules/ path_alias/ src/ AliasManagerInterface.php, line 52 
Class
- AliasManagerInterface
- Find an alias for a path and vice versa.
Namespace
Drupal\path_aliasCode
public function cacheClear($source = NULL);Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
