Search for getAlias

  1. Search 7.x for getAlias
  2. Search 9.5.x for getAlias
  3. Search 8.9.x for getAlias
  4. Search 10.3.x for getAlias
  5. Other projects
Title Object type File name Summary
AliasManager::getAliasByPath function core/modules/path_alias/src/AliasManager.php
AliasManagerInterface::getAliasByPath function core/modules/path_alias/src/AliasManagerInterface.php Given a path, return the alias.
AliasManagerTest::testGetAliasByPathCachedMatch function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getAliasByPath method for a path that is preloaded.
AliasManagerTest::testGetAliasByPathCachedMissLanguage function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getAliasByPath cache when a different language is requested.
AliasManagerTest::testGetAliasByPathCachedMissNoAlias function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getAliasByPath cache with a preloaded path without alias.
AliasManagerTest::testGetAliasByPathException function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getAliasByPath method exception.
AliasManagerTest::testGetAliasByPathMatch function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getAliasByPath method for a path that has a matching alias.
AliasManagerTest::testGetAliasByPathNoMatch function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getAliasByPath method for a path that has no matching alias.
AliasManagerTest::testGetAliasByPathPrefixList function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getAliasByPath method for a path that is not in the prefix list.
AliasManagerTest::testGetAliasByPathUncachedMissNoAlias function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getAliasByPath cache with an un-preloaded path without alias.
AliasManagerTest::testGetAliasByPathUncachedMissWithAlias function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getAliasByPath cache with an un-preloaded path with alias.
MockAliasManager::getAliasByPath function core/modules/system/src/Tests/Routing/MockAliasManager.php
OptimizedPhpArrayDumper::getAliases function core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php Gets the aliases as a PHP array.
OptimizedPhpArrayDumperTest::getAliasesDataProvider function core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumperTest.php Data provider for testGetAliases().
OptimizedPhpArrayDumperTest::testGetAliases function core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumperTest.php Tests that alias processing works properly.
PathAlias::getAlias function core/modules/path_alias/src/Entity/PathAlias.php
PathAliasInterface::getAlias function core/modules/path_alias/src/PathAliasInterface.php Gets the alias for this path.
WorkspacesAliasManager::getAliasByPath function core/modules/workspaces/src/WorkspacesAliasManager.php

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