You are here

public function AliasStorageInterface::preloadPathAlias in Drupal 8

Pre-loads path alias information for a given list of source paths.

Parameters

array $preloaded: 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[] Source (keys) to alias (values) mapping.

1 method overrides AliasStorageInterface::preloadPathAlias()
AliasStorage::preloadPathAlias in core/lib/Drupal/Core/Path/AliasStorage.php
Pre-loads path alias information for a given list of source paths.

File

core/lib/Drupal/Core/Path/AliasStorageInterface.php, line 88

Class

AliasStorageInterface
Provides a class for CRUD operations on path aliases.

Namespace

Drupal\Core\Path

Code

public function preloadPathAlias($preloaded, $langcode);