You are here

class AliasRepository in Drupal 8

Same name in this branch
  1. 8 core/modules/path_alias/src/AliasRepository.php \Drupal\path_alias\AliasRepository
  2. 8 core/lib/Drupal/Core/Path/AliasRepository.php \Drupal\Core\Path\AliasRepository
Same name and namespace in other branches
  1. 9 core/modules/path_alias/src/AliasRepository.php \Drupal\path_alias\AliasRepository

Provides the default path alias lookup operations.

Hierarchy

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_alias
View source
class AliasRepository extends CoreAliasRepository implements AliasRepositoryInterface {

}

Members

Namesort descending Modifiers Type Description Overrides
AliasRepository::$connection protected property The database connection.
AliasRepository::addLanguageFallback protected function Adds path alias language fallback conditions to a select query object.
AliasRepository::getBaseQuery protected function Returns a SELECT query for the path_alias base table. 1
AliasRepository::lookupByAlias public function Searches a path alias for a given alias. Overrides AliasRepositoryInterface::lookupByAlias
AliasRepository::lookupBySystemPath public function Searches a path alias for a given Drupal system path. Overrides AliasRepositoryInterface::lookupBySystemPath
AliasRepository::pathHasMatchingAlias public function Check if any alias exists starting with $initial_substring. Overrides AliasRepositoryInterface::pathHasMatchingAlias
AliasRepository::preloadPathAlias public function Pre-loads path alias information for a given list of system paths. Overrides AliasRepositoryInterface::preloadPathAlias
AliasRepository::__construct public function Constructs an AliasRepository object.