Search for all
Title | Object type | File name | Summary |
---|---|---|---|
AliasManager::$whitelist | property | core/ |
Holds the array of whitelisted path aliases. |
AliasManager::cacheClear | function | core/ |
Clears the static caches in alias manager and rebuilds the whitelist. |
AliasManager::getAliasByPath | function | core/ |
Given a path, return the alias. |
AliasManager::getPathByAlias | function | core/ |
Given the alias, return the path it represents. |
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::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 unpreloaded path without alias. |
AliasManagerTest::testGetAliasByPathUncachedMissWithAlias | function | core/ |
Tests the getAliasByPath cache with an unpreloaded 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/ |
Processes the inbound path. |
AliasPathProcessor::processOutbound | function | core/ |
Processes the outbound path. |
AliasPathProcessor::__construct | function | core/ |
Constructs a AliasPathProcessor object. |
AliasPathProcessorTest | class | core/ |
@coversDefaultClass \Drupal\path_alias\PathProcessor\AliasPathProcessor @group PathProcessor @group path_alias |
AliasPathProcessorTest.php | file | core/ |
|
AliasPathProcessorTest::$aliasManager | property | core/ |
The mocked alias manager. |
AliasPathProcessorTest::$pathProcessor | property | core/ |
The tested path processor. |
AliasPathProcessorTest::providerTestProcessOutbound | function | core/ |
|
AliasPathProcessorTest::setUp | function | core/ |
|
AliasPathProcessorTest::testProcessInbound | function | core/ |
Tests the processInbound method. |
Pagination
- Previous page
- Page 33
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.