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 11.x for alias
  5. Other projects
Title Object type File name Summary
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.
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.
AliasPathProcessorTest::testProcessOutbound function core/modules/path_alias/tests/src/Unit/PathProcessor/AliasPathProcessorTest.php @covers ::processOutbound
AliasRepository class core/modules/path_alias/src/AliasRepository.php Provides the default path alias lookup operations.
AliasRepository.php file core/modules/path_alias/src/AliasRepository.php
AliasRepository::$connection property core/modules/path_alias/src/AliasRepository.php The database connection.
AliasRepository::addLanguageFallback function core/modules/path_alias/src/AliasRepository.php Adds path alias language fallback conditions to a select query object.
AliasRepository::getBaseQuery function core/modules/path_alias/src/AliasRepository.php Returns a SELECT query for the path_alias base table.
AliasRepository::lookupByAlias function core/modules/path_alias/src/AliasRepository.php
AliasRepository::lookupBySystemPath function core/modules/path_alias/src/AliasRepository.php
AliasRepository::pathHasMatchingAlias function core/modules/path_alias/src/AliasRepository.php
AliasRepository::preloadPathAlias function core/modules/path_alias/src/AliasRepository.php
AliasRepository::__construct function core/modules/path_alias/src/AliasRepository.php Constructs an AliasRepository object.
AliasRepositoryInterface interface core/modules/path_alias/src/AliasRepositoryInterface.php Provides an interface for path alias lookup operations.
AliasRepositoryInterface.php file core/modules/path_alias/src/AliasRepositoryInterface.php
AliasRepositoryInterface::lookupByAlias function core/modules/path_alias/src/AliasRepositoryInterface.php Searches a path alias for a given alias.
AliasRepositoryInterface::lookupBySystemPath function core/modules/path_alias/src/AliasRepositoryInterface.php Searches a path alias for a given Drupal system path.
AliasRepositoryInterface::pathHasMatchingAlias function core/modules/path_alias/src/AliasRepositoryInterface.php Check if any alias exists starting with $initial_substring.
AliasRepositoryInterface::preloadPathAlias function core/modules/path_alias/src/AliasRepositoryInterface.php Pre-loads path alias information for a given list of system paths.
AliasTest class core/modules/path_alias/tests/src/Kernel/AliasTest.php Tests path alias CRUD and lookup functionality.
AliasTest.php file core/modules/path_alias/tests/src/Kernel/AliasTest.php
AliasTest::$modules property core/modules/path_alias/tests/src/Kernel/AliasTest.php Modules to install.
AliasTest::setUp function core/modules/path_alias/tests/src/Kernel/AliasTest.php
AliasTest::testLookupByAlias function core/modules/path_alias/tests/src/Kernel/AliasTest.php @covers ::lookupByAlias
AliasTest::testLookupBySystemPath function core/modules/path_alias/tests/src/Kernel/AliasTest.php @covers ::lookupBySystemPath
AliasTest::testLookupPath function core/modules/path_alias/tests/src/Kernel/AliasTest.php @covers \Drupal\path_alias\AliasManager::getPathByAlias
@covers \Drupal\path_alias\AliasManager::getAliasByPath
AliasTest::testPreloadPathAlias function core/modules/path_alias/tests/src/Kernel/AliasTest.php @covers ::preloadPathAlias
AliasTest::testWhitelist function core/modules/path_alias/tests/src/Kernel/AliasTest.php Tests the alias whitelist.
AliasTest::testWhitelistCacheDeletionMidRequest function core/modules/path_alias/tests/src/Kernel/AliasTest.php Tests situation where the whitelist cache is deleted mid-request.
AliasWhitelist class core/modules/path_alias/src/AliasWhitelist.php Extends CacheCollector to build the path alias whitelist over time.
AliasWhitelist.php file core/modules/path_alias/src/AliasWhitelist.php
AliasWhitelist::$pathAliasRepository property core/modules/path_alias/src/AliasWhitelist.php The path alias repository.
AliasWhitelist::$state property core/modules/path_alias/src/AliasWhitelist.php The Key/Value Store to use for state.
AliasWhitelist::clear function core/modules/path_alias/src/AliasWhitelist.php Clears the collected cache entry.
AliasWhitelist::get function core/modules/path_alias/src/AliasWhitelist.php Gets value from the cache.
AliasWhitelist::lazyLoadCache function core/modules/path_alias/src/AliasWhitelist.php Loads the cache if not already done.

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