public AliasManager::getPathByAlias($alias, $langcode = NULL)
Given the alias, return the path it represents.
Parameters
string $alias: An alias.
string $langcode: An optional language code to look up the path in.
Return value
string The path represented by alias, or the alias if no path was found.
Throws
\InvalidArgumentException Thrown when the path does not start with a slash.
Overrides AliasManagerInterface::getPathByAlias
File
core/lib/Drupal/Core/Path/AliasManager.php, line 151
Clas