public function AliasManagerInterface::cacheClear in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Path/AliasManagerInterface.php \Drupal\Core\Path\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.
2 methods override AliasManagerInterface::cacheClear()
- AliasManager::cacheClear in core/
lib/ Drupal/ Core/ Path/ AliasManager.php - Clear internal caches in alias manager.
- MockAliasManager::cacheClear in core/
modules/ system/ src/ Tests/ Routing/ MockAliasManager.php - Clear internal caches in alias manager.
File
- core/
lib/ Drupal/ Core/ Path/ AliasManagerInterface.php, line 56 - Contains \Drupal\Core\Path\AliasManagerInterface.
Class
- AliasManagerInterface
- Find an alias for a path and vice versa.
Namespace
Drupal\Core\PathCode
public function cacheClear($source = NULL);