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 10.3.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
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::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 Sets the cache key for the preload alias cache.
AliasManager::writeCache function core/modules/path_alias/src/AliasManager.php Writes to the per-page system path cache.
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 Tests Drupal\path_alias\AliasManager.
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 Tests cache clear.
AliasManagerTest::testGetAliasByPathCachedMissLanguage function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getAliasByPath cache when a different language is requested.
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::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.
AliasPathMatcher class core/modules/path_alias/src/AliasPathMatcher.php Extends the default path matcher to check aliases.
AliasPathMatcher.php file core/modules/path_alias/src/AliasPathMatcher.php
AliasPathMatcher::$isCurrentFrontPage property core/modules/path_alias/src/AliasPathMatcher.php Whether the current page is the front page.
AliasPathMatcher::isAliasFrontPage function core/modules/path_alias/src/AliasPathMatcher.php Checks if the current page is the front page by comparing aliases.
AliasPathMatcher::isFrontPage function core/modules/path_alias/src/AliasPathMatcher.php Checks if the current page is the front page.
AliasPathMatcher::matchPath function core/modules/path_alias/src/AliasPathMatcher.php Checks if a path matches any pattern in a set of patterns.
AliasPathMatcher::__construct function core/modules/path_alias/src/AliasPathMatcher.php
AliasPathProcessor class core/modules/path_alias/src/PathProcessor/AliasPathProcessor.php Processes the inbound and outbound 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 Tests Drupal\path_alias\PathProcessor\AliasPathProcessor.
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 Provides data for testing outbound processing.

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