Search for alias

  1. Search 7.x for alias
  2. Search 9.5.x for alias
  3. Search 8.9.x for alias
  4. Search 10.3.x for alias
  5. Other projects
Title Object type File name Summary
AliasingResourceTypeRepository class core/modules/jsonapi/tests/modules/jsonapi_test_field_aliasing/src/ResourceType/AliasingResourceTypeRepository.php Provides a repository of resource types with field names that can be aliased.
AliasingResourceTypeRepository.php file core/modules/jsonapi/tests/modules/jsonapi_test_field_aliasing/src/ResourceType/AliasingResourceTypeRepository.php
AliasingResourceTypeRepository::getFields function core/modules/jsonapi/tests/modules/jsonapi_test_field_aliasing/src/ResourceType/AliasingResourceTypeRepository.php Gets the field mapping for the given field names and entity type + bundle.
AliasManager class core/modules/path_alias/src/AliasManager.php The default alias manager implementation.
AliasManager.php file core/modules/path_alias/src/AliasManager.php
AliasManager::$cacheKey property core/modules/path_alias/src/AliasManager.php The cache key to use when caching paths.
AliasManager::$cacheNeedsWriting property core/modules/path_alias/src/AliasManager.php Whether the cache needs to be written.
AliasManager::$langcodePreloaded property core/modules/path_alias/src/AliasManager.php Whether preloaded path lookups has already been loaded.
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::$preloadedPathLookups property core/modules/path_alias/src/AliasManager.php Holds an array of previously looked up paths for the current request path.
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::pathAliasPrefixListRebuild function core/modules/path_alias/src/AliasManager.php Rebuild the path alias prefix list.
AliasManager::pathAliasWhitelistRebuild function core/modules/path_alias/src/AliasManager.php Rebuild the path alias prefix 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
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 prefix list.
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::$aliasPrefixList property core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Alias prefix list.
AliasManagerTest::$aliasRepository property core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Alias repository.
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::testGetAliasByPathPrefixList function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getAliasByPath method for a path that is not in the prefix list.
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::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.

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