AliasManagerInterface
interface AliasManagerInterface (View source)
Find an alias for a path and vice versa.
Methods
string
getPathByAlias(string $alias, string $langcode = NULL)
Given the alias, return the path it represents.
string
getAliasByPath(string $path, string $langcode = NULL)
Given a path, return the alias.
cacheClear($source = NULL)
Clears the static caches in alias manager and rebuilds the whitelist.
Details
string
getPathByAlias(string $alias, string $langcode = NULL)
Given the alias, return the path it represents.
string
getAliasByPath(string $path, string $langcode = NULL)
Given a path, return the alias.
cacheClear($source = NULL)
Clears the static caches in alias manager and rebuilds the whitelist.