Search for getAliasByPath

  1. Search 7.x for getAliasByPath
  2. Search 9.5.x for getAliasByPath
  3. Search 10.3.x for getAliasByPath
  4. Search 11.x for getAliasByPath
  5. Other projects
Title Object type File name Summary
AliasManager::getAliasByPath function core/lib/Drupal/Core/Path/AliasManager.php Given a path, return the alias.
AliasManagerDecorator::getAliasByPath function core/modules/path_alias/tests/modules/path_alias_deprecated_test/src/AliasManagerDecorator.php Given a path, return the alias.
AliasManagerInterface::getAliasByPath function core/lib/Drupal/Core/Path/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::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::testGetAliasByPathUncachedMissNoAlias function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getAliasByPath cache with an unpreloaded path without alias.
AliasManagerTest::testGetAliasByPathUncachedMissWithAlias function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getAliasByPath cache with an unpreloaded path with alias.
AliasManagerTest::testGetAliasByPathWhitelist function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getAliasByPath method for a path that is not in the whitelist.
MockAliasManager::getAliasByPath function core/modules/system/src/Tests/Routing/MockAliasManager.php
NewAliasManager::getAliasByPath function core/modules/path_alias/tests/modules/path_alias_deprecated_test/src/NewAliasManager.php Given a path, return the alias.

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