Search for getPathByAlias

  1. Search 7.x for getPathByAlias
  2. Search 9.5.x for getPathByAlias
  3. Search 8.9.x for getPathByAlias
  4. Search 11.x for getPathByAlias
  5. Other projects
Title Object type File name Summary
AliasManager::getPathByAlias function core/modules/path_alias/src/AliasManager.php
AliasManagerInterface::getPathByAlias function core/modules/path_alias/src/AliasManagerInterface.php Given the alias, return the path it represents.
AliasManagerTest::testGetPathByAliasLangcode function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getPathByAlias method when a langcode is passed explicitly.
AliasManagerTest::testGetPathByAliasMatch function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getPathByAlias method for an alias that have a matching path.
AliasManagerTest::testGetPathByAliasNoMatch function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getPathByAlias method for an alias that have no matching path.
MockAliasManager::getPathByAlias function core/modules/system/src/Tests/Routing/MockAliasManager.php
WorkspacesAliasManager::getPathByAlias 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.