function AliasStorageInterface::lookupPathSource
Returns Drupal system URL of an alias.
The default implementation performs case-insensitive matching on the 'source' and 'alias' strings.
Parameters
string $path: The path to investigate for corresponding system URLs.
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 Drupal system path, or FALSE if no path was found.
1 method overrides AliasStorageInterface::lookupPathSource()
- AliasStorage::lookupPathSource in core/
lib/ Drupal/ Core/ Path/ AliasStorage.php - Returns Drupal system URL of an alias.
File
-
core/
lib/ Drupal/ Core/ Path/ AliasStorageInterface.php, line 122
Class
- AliasStorageInterface
- Provides a class for CRUD operations on path aliases.
Namespace
Drupal\Core\PathCode
public function lookupPathSource($path, $langcode);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.