You are here

public function MockAliasManager::cacheClear in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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
Contains \Drupal\system\Tests\Routing\MockAliasManager.

Class

MockAliasManager
An easily configurable mock alias manager.

Namespace

Drupal\system\Tests\Routing

Code

public function cacheClear($source = NULL) {

  // Not needed.
}