MockAliasManager::$aliases

Same name in other branches
  1. 9 core/modules/system/src/Tests/Routing/MockAliasManager.php \Drupal\system\Tests\Routing\MockAliasManager::aliases
  2. 10 core/modules/system/src/Tests/Routing/MockAliasManager.php \Drupal\system\Tests\Routing\MockAliasManager::aliases
  3. 11.x core/modules/system/src/Tests/Routing/MockAliasManager.php \Drupal\system\Tests\Routing\MockAliasManager::aliases

Array of mocked aliases. Keys are system paths, followed by language.

Type: array

File

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

Class

MockAliasManager
An easily configurable mock alias manager.

Namespace

Drupal\system\Tests\Routing

Code

protected $aliases = [];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.