Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 11.x for all
  5. Other projects
Title Object type File name Summary
AliasManager::$languageManager property core/modules/path_alias/src/AliasManager.php Language manager for retrieving the default langcode when none is specified.
AliasManager::$lookupMap property core/modules/path_alias/src/AliasManager.php Holds the map of path lookups per language.
AliasManager::$noAlias property core/modules/path_alias/src/AliasManager.php Holds an array of paths that have no alias.
AliasManager::$noPath property core/modules/path_alias/src/AliasManager.php Holds an array of aliases for which no path was found.
AliasManager::$pathAliasRepository property core/modules/path_alias/src/AliasManager.php The path alias repository.
AliasManager::$preloadedPathLookups property core/modules/path_alias/src/AliasManager.php Holds an array of previously looked up paths for the current request path.
AliasManager::$whitelist property core/modules/path_alias/src/AliasManager.php Holds the array of whitelisted path aliases.
AliasManager::cacheClear function core/modules/path_alias/src/AliasManager.php
AliasManager::getAliasByPath function core/modules/path_alias/src/AliasManager.php
AliasManager::getPathByAlias function core/modules/path_alias/src/AliasManager.php
AliasManager::getRequestTime function core/modules/path_alias/src/AliasManager.php Wrapper method for REQUEST_TIME constant.
AliasManager::pathAliasWhitelistRebuild function core/modules/path_alias/src/AliasManager.php Rebuild the path alias white list.
AliasManager::setCacheKey function core/modules/path_alias/src/AliasManager.php
AliasManager::writeCache function core/modules/path_alias/src/AliasManager.php 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/modules/path_alias/src/AliasManager.php Constructs an AliasManager.
AliasManagerInterface interface core/modules/path_alias/src/AliasManagerInterface.php Find an alias for a path and vice versa.
AliasManagerInterface.php file core/modules/path_alias/src/AliasManagerInterface.php
AliasManagerInterface::cacheClear function core/modules/path_alias/src/AliasManagerInterface.php Clears the static caches in alias manager and rebuilds the whitelist.
AliasManagerInterface::getAliasByPath function core/modules/path_alias/src/AliasManagerInterface.php Given a path, return the alias.
AliasManagerInterface::getPathByAlias function core/modules/path_alias/src/AliasManagerInterface.php Given the alias, return the path it represents.
AliasManagerTest class core/modules/path_alias/tests/src/Unit/AliasManagerTest.php @coversDefaultClass \Drupal\path_alias\AliasManager
@group path_alias
AliasManagerTest.php file core/modules/path_alias/tests/src/Unit/AliasManagerTest.php
AliasManagerTest::$aliasManager property core/modules/path_alias/tests/src/Unit/AliasManagerTest.php The alias manager.
AliasManagerTest::$aliasRepository property core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Alias repository.
AliasManagerTest::$aliasWhitelist property core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Alias whitelist.
AliasManagerTest::$cache property core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Cache backend.
AliasManagerTest::$cacheKey property core/modules/path_alias/tests/src/Unit/AliasManagerTest.php The internal cache key used by the alias manager.
AliasManagerTest::$languageManager property core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Language manager.
AliasManagerTest::$path property core/modules/path_alias/tests/src/Unit/AliasManagerTest.php The cache key passed to the alias manager.
AliasManagerTest::setUp function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php
AliasManagerTest::setUpCurrentLanguage function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Sets up the current language.
AliasManagerTest::testCacheClear function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php @covers ::cacheClear
AliasManagerTest::testGetAliasByPathCachedMatch function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getAliasByPath method for a path that is preloaded.
AliasManagerTest::testGetAliasByPathCachedMissLanguage function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getAliasByPath cache when a different language is requested.
AliasManagerTest::testGetAliasByPathCachedMissNoAlias function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getAliasByPath cache with a preloaded path without alias.
AliasManagerTest::testGetAliasByPathException function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getAliasByPath method exception.
AliasManagerTest::testGetAliasByPathMatch function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getAliasByPath method for a path that has a matching alias.
AliasManagerTest::testGetAliasByPathNoMatch function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getAliasByPath method for a path that has no matching alias.
AliasManagerTest::testGetAliasByPathUncachedMissNoAlias function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getAliasByPath cache with an un-preloaded path without alias.
AliasManagerTest::testGetAliasByPathUncachedMissWithAlias function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getAliasByPath cache with an un-preloaded path with alias.
AliasManagerTest::testGetAliasByPathWhitelist function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getAliasByPath method for a path that is not in the whitelist.
AliasManagerTest::testGetPathByAliasLangcode function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getPathByAlias method when a langcode is passed explicitly.
AliasManagerTest::testGetPathByAliasMatch function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getPathByAlias method for an alias that have a matching path.
AliasManagerTest::testGetPathByAliasNoMatch function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getPathByAlias method for an alias that have no matching path.
AliasPathProcessor class core/modules/path_alias/src/PathProcessor/AliasPathProcessor.php Processes the inbound path using path alias lookups.
AliasPathProcessor.php file core/modules/path_alias/src/PathProcessor/AliasPathProcessor.php
AliasPathProcessor::$aliasManager property core/modules/path_alias/src/PathProcessor/AliasPathProcessor.php An alias manager for looking up the system path.
AliasPathProcessor::processInbound function core/modules/path_alias/src/PathProcessor/AliasPathProcessor.php
AliasPathProcessor::processOutbound function core/modules/path_alias/src/PathProcessor/AliasPathProcessor.php
AliasPathProcessor::__construct function core/modules/path_alias/src/PathProcessor/AliasPathProcessor.php Constructs a AliasPathProcessor object.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.