Search for alias
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::$cache | property | core/ |
Cache backend service. |
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::$languageManager | property | core/ |
Language manager for retrieving the default langcode when none is specified. |
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::$pathAliasRepository | property | core/ |
The path alias repository. |
AliasManager::$preloadedPathLookups | property | core/ |
Holds an array of previously looked up paths for the current request path. |
AliasManager::$whitelist | property | core/ |
Holds the array of whitelisted path aliases. |
AliasManager::cacheClear | function | core/ |
|
AliasManager::getAliasByPath | function | core/ |
|
AliasManager::getPathByAlias | function | core/ |
|
AliasManager::getRequestTime | function | core/ |
Wrapper method for REQUEST_TIME constant. |
AliasManager::pathAliasWhitelistRebuild | function | core/ |
Rebuild the path alias white 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/ |
Constructs an AliasManager. |
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 whitelist. |
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::$aliasRepository | property | core/ |
Alias repository. |
AliasManagerTest::$aliasWhitelist | property | core/ |
Alias whitelist. |
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::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::testGetAliasByPathWhitelist | function | core/ |
Tests the getAliasByPath method for a path that is not in the whitelist. |
Pagination
- Page 1
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.