Search for alias

  1. Search 7.x for alias
  2. Search 8.9.x for alias
  3. Search 10.3.x for alias
  4. Search 11.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::$cache property core/modules/path_alias/src/AliasManager.php Cache backend service.
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::$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 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.

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