You are here

public function AliasManagerDecorator::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.

Overrides AliasManagerInterface::cacheClear

File

core/modules/path_alias/tests/modules/path_alias_deprecated_test/src/AliasManagerDecorator.php, line 46

Class

AliasManagerDecorator
Test alias manager decorator.

Namespace

Drupal\path_alias_deprecated_test

Code

public function cacheClear($source = NULL) {
  $this->aliasManager
    ->cacheClear($source);
}