public function MockAliasManager::cacheClear in Drupal 8
Same name and namespace in other branches
- 9 core/modules/system/src/Tests/Routing/MockAliasManager.php \Drupal\system\Tests\Routing\MockAliasManager::cacheClear()
- 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\RoutingCode
public function cacheClear($source = NULL) {
// Not needed.
}