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