public function AliasStorageInterface::lookupPathAlias in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Path/AliasStorageInterface.php \Drupal\Core\Path\AliasStorageInterface::lookupPathAlias()
Returns an alias of Drupal system URL.
The default implementation performs case-insensitive matching on the 'source' and 'alias' strings.
Parameters
string $path: The path to investigate for corresponding path aliases.
string $langcode: Language code to search the path with. If there's no path defined for that language it will search paths without language.
Return value
string|false A path alias, or FALSE if no path was found.
1 method overrides AliasStorageInterface::lookupPathAlias()
- AliasStorage::lookupPathAlias in core/
lib/ Drupal/ Core/ Path/ AliasStorage.php - Returns an alias of Drupal system URL.
File
- core/
lib/ Drupal/ Core/ Path/ AliasStorageInterface.php, line 103 - Contains \Drupal\Core\Path\AliasStorageInterface.
Class
- AliasStorageInterface
- Provides a class for CRUD operations on path aliases.
Namespace
Drupal\Core\PathCode
public function lookupPathAlias($path, $langcode);