W3cubDocs

/Drupal 8

public function AliasManagerInterface::cacheClear

public AliasManagerInterface::cacheClear($source = NULL)

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.

File

core/lib/Drupal/Core/Path/AliasManagerInterface.php, line 51

Class

AliasManagerInterface
Find an alias for a path and vice versa.

Namespace

Drupal\Core\Path

Code

public function cacheClear($source = NULL);

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Path!AliasManagerInterface.php/function/AliasManagerInterface::cacheClear/8.1.x