AliasRepositoryInterface deprecated
interface AliasRepositoryInterface (View source)
deprecated
Provides an interface for path alias lookup operations.
Methods
Pre-loads path alias information for a given list of system paths.
Searches a path alias for a given Drupal system path.
Searches a path alias for a given alias.
Check if any alias exists starting with $initial_substring.
Details
string[]
preloadPathAlias(array $preloaded, string $langcode)
Pre-loads path alias information for a given list of system paths.
array|null
lookupBySystemPath(string $path, string $langcode)
Searches a path alias for a given Drupal system path.
The default implementation performs case-insensitive matching on the 'path' and 'alias' strings.
array|null
lookupByAlias(string $alias, string $langcode)
Searches a path alias for a given alias.
The default implementation performs case-insensitive matching on the 'path' and 'alias' strings.
bool
pathHasMatchingAlias(string $initial_substring)
Check if any alias exists starting with $initial_substring.