public function AliasRepositoryInterface::preloadPathAlias in Drupal 8
Pre-loads path alias information for a given list of system paths.
Parameters
array $preloaded: System paths that need preloading of 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[] System paths (keys) to alias (values) mapping.
1 method overrides AliasRepositoryInterface::preloadPathAlias()
- AliasRepository::preloadPathAlias in core/
lib/ Drupal/ Core/ Path/ AliasRepository.php - Pre-loads path alias information for a given list of system paths.
File
- core/
lib/ Drupal/ Core/ Path/ AliasRepositoryInterface.php, line 27
Class
- AliasRepositoryInterface
- Provides an interface for path alias lookup operations.
Namespace
Drupal\Core\PathCode
public function preloadPathAlias($preloaded, $langcode);