class AliasRepository in Drupal 8
Same name in this branch
- 8 core/modules/path_alias/src/AliasRepository.php \Drupal\path_alias\AliasRepository
- 8 core/lib/Drupal/Core/Path/AliasRepository.php \Drupal\Core\Path\AliasRepository
Same name and namespace in other branches
- 9 core/modules/path_alias/src/AliasRepository.php \Drupal\path_alias\AliasRepository
Provides the default path alias lookup operations.
Hierarchy
- class \Drupal\Core\Path\AliasRepository implements AliasRepositoryInterface
- class \Drupal\path_alias\AliasRepository implements AliasRepositoryInterface
Expanded class hierarchy of AliasRepository
1 file declares its use of AliasRepository
- WorkspacesAliasRepository.php in core/
modules/ workspaces/ src/ WorkspacesAliasRepository.php
1 string reference to 'AliasRepository'
- path_alias.services.yml in core/
modules/ path_alias/ path_alias.services.yml - core/modules/path_alias/path_alias.services.yml
1 service uses AliasRepository
- path_alias.repository in core/
modules/ path_alias/ path_alias.services.yml - Drupal\path_alias\AliasRepository
File
- core/
modules/ path_alias/ src/ AliasRepository.php, line 10
Namespace
Drupal\path_aliasView source
class AliasRepository extends CoreAliasRepository implements AliasRepositoryInterface {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AliasRepository:: |
protected | property | The database connection. | |
AliasRepository:: |
protected | function | Adds path alias language fallback conditions to a select query object. | |
AliasRepository:: |
protected | function | Returns a SELECT query for the path_alias base table. | 1 |
AliasRepository:: |
public | function |
Searches a path alias for a given alias. Overrides AliasRepositoryInterface:: |
|
AliasRepository:: |
public | function |
Searches a path alias for a given Drupal system path. Overrides AliasRepositoryInterface:: |
|
AliasRepository:: |
public | function |
Check if any alias exists starting with $initial_substring. Overrides AliasRepositoryInterface:: |
|
AliasRepository:: |
public | function |
Pre-loads path alias information for a given list of system paths. Overrides AliasRepositoryInterface:: |
|
AliasRepository:: |
public | function | Constructs an AliasRepository object. |