Search for alias
- Search 7.x for alias
- Search 9.5.x for alias
- Search 8.9.x for alias
- Search 10.3.x for alias
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
AliasingResourceTypeRepository | class | core/ |
Provides a repository of resource types with field names that can be aliased. |
AliasingResourceTypeRepository.php | file | core/ |
|
AliasingResourceTypeRepository::getFields | function | core/ |
Gets the field mapping for the given field names and entity type + bundle. |
AliasManager | class | core/ |
The default alias manager implementation. |
AliasManager.php | file | core/ |
|
AliasManager::$cacheKey | property | core/ |
The cache key to use when caching paths. |
AliasManager::$cacheNeedsWriting | property | core/ |
Whether the cache needs to be written. |
AliasManager::$langcodePreloaded | property | core/ |
Whether preloaded path lookups has already been loaded. |
AliasManager::$lookupMap | property | core/ |
Holds the map of path lookups per language. |
AliasManager::$noAlias | property | core/ |
Holds an array of paths that have no alias. |
AliasManager::$noPath | property | core/ |
Holds an array of aliases for which no path was found. |
AliasManager::$preloadedPathLookups | property | core/ |
Holds an array of previously looked up paths for the current request path. |
AliasManager::cacheClear | function | core/ |
|
AliasManager::getAliasByPath | function | core/ |
|
AliasManager::getPathByAlias | function | core/ |
|
AliasManager::pathAliasPrefixListRebuild | function | core/ |
Rebuild the path alias prefix list. |
AliasManager::pathAliasWhitelistRebuild | function | core/ |
Rebuild the path alias prefix list. |
AliasManager::setCacheKey | function | core/ |
|
AliasManager::writeCache | function | core/ |
Cache an array of the paths available on each page. We assume that aliases will be needed for the majority of these paths during subsequent requests, and load them in a single query during path alias lookup. |
AliasManager::__construct | function | core/ |
|
AliasManagerInterface | interface | core/ |
Find an alias for a path and vice versa. |
AliasManagerInterface.php | file | core/ |
|
AliasManagerInterface::cacheClear | function | core/ |
Clears the static caches in alias manager and rebuilds the prefix list. |
AliasManagerInterface::getAliasByPath | function | core/ |
Given a path, return the alias. |
AliasManagerInterface::getPathByAlias | function | core/ |
Given the alias, return the path it represents. |
AliasManagerTest | class | core/ |
@coversDefaultClass \Drupal\path_alias\AliasManager @group path_alias |
AliasManagerTest.php | file | core/ |
|
AliasManagerTest::$aliasManager | property | core/ |
The alias manager. |
AliasManagerTest::$aliasPrefixList | property | core/ |
Alias prefix list. |
AliasManagerTest::$aliasRepository | property | core/ |
Alias repository. |
AliasManagerTest::$cache | property | core/ |
Cache backend. |
AliasManagerTest::$cacheKey | property | core/ |
The internal cache key used by the alias manager. |
AliasManagerTest::$languageManager | property | core/ |
Language manager. |
AliasManagerTest::$path | property | core/ |
The cache key passed to the alias manager. |
AliasManagerTest::setUp | function | core/ |
|
AliasManagerTest::setUpCurrentLanguage | function | core/ |
Sets up the current language. |
AliasManagerTest::testCacheClear | function | core/ |
@covers ::cacheClear |
AliasManagerTest::testGetAliasByPathCachedMatch | function | core/ |
Tests the getAliasByPath method for a path that is preloaded. |
AliasManagerTest::testGetAliasByPathCachedMissLanguage | function | core/ |
Tests the getAliasByPath cache when a different language is requested. |
AliasManagerTest::testGetAliasByPathCachedMissNoAlias | function | core/ |
Tests the getAliasByPath cache with a preloaded path without alias. |
AliasManagerTest::testGetAliasByPathException | function | core/ |
Tests the getAliasByPath method exception. |
AliasManagerTest::testGetAliasByPathMatch | function | core/ |
Tests the getAliasByPath method for a path that has a matching alias. |
AliasManagerTest::testGetAliasByPathNoMatch | function | core/ |
Tests the getAliasByPath method for a path that has no matching alias. |
AliasManagerTest::testGetAliasByPathPrefixList | function | core/ |
Tests the getAliasByPath method for a path that is not in the prefix list. |
AliasManagerTest::testGetAliasByPathUncachedMissNoAlias | function | core/ |
Tests the getAliasByPath cache with an un-preloaded path without alias. |
AliasManagerTest::testGetAliasByPathUncachedMissWithAlias | function | core/ |
Tests the getAliasByPath cache with an un-preloaded path with alias. |
AliasManagerTest::testGetPathByAliasLangcode | function | core/ |
Tests the getPathByAlias method when a langcode is passed explicitly. |
AliasManagerTest::testGetPathByAliasMatch | function | core/ |
Tests the getPathByAlias method for an alias that have a matching path. |
AliasManagerTest::testGetPathByAliasNoMatch | function | core/ |
Tests the getPathByAlias method for an alias that have no matching path. |
AliasPathProcessor | class | core/ |
Processes the inbound path using path alias lookups. |
Pagination
- Page 1
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.