function AliasManagerInterface::cacheClear

Same name and namespace in other branches
  1. 9 core/modules/path_alias/src/AliasManagerInterface.php \Drupal\path_alias\AliasManagerInterface::cacheClear()
  2. 8.9.x core/lib/Drupal/Core/Path/AliasManagerInterface.php \Drupal\Core\Path\AliasManagerInterface::cacheClear()
  3. 10 core/modules/path_alias/src/AliasManagerInterface.php \Drupal\path_alias\AliasManagerInterface::cacheClear()

Clears the static caches in alias manager and rebuilds the whitelist.

Parameters

$source: Source path of the alias that is being inserted/updated. If omitted, the entire lookup static cache will be cleared and the whitelist will be rebuilt.

File

core/modules/path_alias/src/AliasManagerInterface.php, line 52

Class

AliasManagerInterface
Find an alias for a path and vice versa.

Namespace

Drupal\path_alias

Code

public function cacheClear($source = NULL);

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