You are here

public function AliasManagerInterface::cacheClear in Drupal 8

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.

4 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.
MockAliasManager::cacheClear in core/modules/system/src/Tests/Routing/MockAliasManager.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\Path

Code

public function cacheClear($source = NULL);