Search for all
Title | Object type | File name | Summary |
---|---|---|---|
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. |
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. |
AliasPathProcessor.php | file | core/ |
|
AliasPathProcessor::$aliasManager | property | core/ |
An alias manager for looking up the system path. |
AliasPathProcessor::processInbound | function | core/ |
|
AliasPathProcessor::processOutbound | function | core/ |
|
AliasPathProcessor::__construct | function | core/ |
Constructs a AliasPathProcessor object. |
Pagination
- Previous page
- Page 32
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.