function AliasRepositoryInterface::preloadPathAlias

Same name in other branches
  1. 9 core/modules/path_alias/src/AliasRepositoryInterface.php \Drupal\path_alias\AliasRepositoryInterface::preloadPathAlias()
  2. 8.9.x core/lib/Drupal/Core/Path/AliasRepositoryInterface.php \Drupal\Core\Path\AliasRepositoryInterface::preloadPathAlias()
  3. 10 core/modules/path_alias/src/AliasRepositoryInterface.php \Drupal\path_alias\AliasRepositoryInterface::preloadPathAlias()

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.

File

core/modules/path_alias/src/AliasRepositoryInterface.php, line 32

Class

AliasRepositoryInterface
Provides an interface for path alias lookup operations.

Namespace

Drupal\path_alias

Code

public function preloadPathAlias($preloaded, $langcode);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.