Search for all

  1. Search 7.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Other projects
Title Object type File name Summary
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 Clears the static caches in alias manager and rebuilds the whitelist.
AliasManager::getAliasByPath function core/modules/path_alias/src/AliasManager.php Given a path, return the alias.
AliasManager::getPathByAlias function core/modules/path_alias/src/AliasManager.php Given the alias, return the path it represents.
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::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 unpreloaded path without alias.
AliasManagerTest::testGetAliasByPathUncachedMissWithAlias function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getAliasByPath cache with an unpreloaded 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 Processes the inbound path.
AliasPathProcessor::processOutbound function core/modules/path_alias/src/PathProcessor/AliasPathProcessor.php Processes the outbound path.
AliasPathProcessor::__construct function core/modules/path_alias/src/PathProcessor/AliasPathProcessor.php Constructs a AliasPathProcessor object.
AliasPathProcessorTest class core/modules/path_alias/tests/src/Unit/PathProcessor/AliasPathProcessorTest.php @coversDefaultClass \Drupal\path_alias\PathProcessor\AliasPathProcessor
@group PathProcessor
@group path_alias
AliasPathProcessorTest.php file core/modules/path_alias/tests/src/Unit/PathProcessor/AliasPathProcessorTest.php
AliasPathProcessorTest::$aliasManager property core/modules/path_alias/tests/src/Unit/PathProcessor/AliasPathProcessorTest.php The mocked alias manager.
AliasPathProcessorTest::$pathProcessor property core/modules/path_alias/tests/src/Unit/PathProcessor/AliasPathProcessorTest.php The tested path processor.
AliasPathProcessorTest::providerTestProcessOutbound function core/modules/path_alias/tests/src/Unit/PathProcessor/AliasPathProcessorTest.php
AliasPathProcessorTest::setUp function core/modules/path_alias/tests/src/Unit/PathProcessor/AliasPathProcessorTest.php
AliasPathProcessorTest::testProcessInbound function core/modules/path_alias/tests/src/Unit/PathProcessor/AliasPathProcessorTest.php Tests the processInbound method.

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