function AliasManagerInterface::cacheClear
Same name in other branches
- 9 core/modules/path_alias/src/AliasManagerInterface.php \Drupal\path_alias\AliasManagerInterface::cacheClear()
- 10 core/modules/path_alias/src/AliasManagerInterface.php \Drupal\path_alias\AliasManagerInterface::cacheClear()
- 11.x core/modules/path_alias/src/AliasManagerInterface.php \Drupal\path_alias\AliasManagerInterface::cacheClear()
Clear internal caches in alias manager.
Parameters
$source: Source path of the alias that is being inserted/updated. Can be omitted if entire cache needs to be flushed.
3 methods override AliasManagerInterface::cacheClear()
- AliasManager::cacheClear in core/
lib/ Drupal/ Core/ Path/ AliasManager.php - Clear internal caches in alias manager.
- AliasManagerDecorator::cacheClear in core/
modules/ path_alias/ tests/ modules/ path_alias_deprecated_test/ src/ AliasManagerDecorator.php - Clear internal caches in alias manager.
- NewAliasManager::cacheClear in core/
modules/ path_alias/ tests/ modules/ path_alias_deprecated_test/ src/ NewAliasManager.php - Clear internal caches in alias manager.
File
-
core/
lib/ Drupal/ Core/ Path/ AliasManagerInterface.php, line 54
Class
- AliasManagerInterface
- Find an alias for a path and vice versa.
Namespace
Drupal\Core\PathCode
public function cacheClear($source = NULL);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.