function AliasRepositoryInterface::preloadPathAlias

Same name in other branches
  1. 9 core/modules/path_alias/src/AliasRepositoryInterface.php \Drupal\path_alias\AliasRepositoryInterface::preloadPathAlias()
  2. 10 core/modules/path_alias/src/AliasRepositoryInterface.php \Drupal\path_alias\AliasRepositoryInterface::preloadPathAlias()
  3. 11.x 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.

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\Path

Code

public function preloadPathAlias($preloaded, $langcode);

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