You are here

public function MockAliasManager::cacheClear in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/system/src/Tests/Routing/MockAliasManager.php \Drupal\system\Tests\Routing\MockAliasManager::cacheClear()
  2. 10 core/modules/system/src/Tests/Routing/MockAliasManager.php \Drupal\system\Tests\Routing\MockAliasManager::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.

Overrides AliasManagerInterface::cacheClear

File

core/modules/system/src/Tests/Routing/MockAliasManager.php, line 92

Class

MockAliasManager
An easily configurable mock alias manager.

Namespace

Drupal\system\Tests\Routing

Code

public function cacheClear($source = NULL) {

  // Not needed.
}