Search for path

  1. Search 7.x for path
  2. Search 8.9.x for path
  3. Search 10.3.x for path
  4. Search 11.x for path
  5. Other projects
Title Object type File name Summary
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.
AliasPathProcessorTest::testProcessOutbound function core/modules/path_alias/tests/src/Unit/PathProcessor/AliasPathProcessorTest.php @covers ::processOutbound
AliasRepository::lookupBySystemPath function core/modules/path_alias/src/AliasRepository.php Searches a path alias for a given Drupal system path.
AliasRepository::pathHasMatchingAlias function core/modules/path_alias/src/AliasRepository.php Check if any alias exists starting with $initial_substring.
AliasRepository::preloadPathAlias function core/modules/path_alias/src/AliasRepository.php Pre-loads path alias information for a given list of system paths.
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::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
AliasWhitelist::$pathAliasRepository property core/modules/path_alias/src/AliasWhitelist.php The path alias repository.
AliasWhitelist::loadMenuPathRoots function core/modules/path_alias/src/AliasWhitelist.php Loads menu path roots to prepopulate cache.
AllowToolbarPath class core/modules/toolbar/src/PageCache/AllowToolbarPath.php Cache policy for the toolbar page cache service.
AllowToolbarPath.php file core/modules/toolbar/src/PageCache/AllowToolbarPath.php
AllowToolbarPath::check function core/modules/toolbar/src/PageCache/AllowToolbarPath.php Determines whether delivery of a cached page should be attempted.
AllowToolbarPathTest class core/modules/toolbar/tests/src/Unit/PageCache/AllowToolbarPathTest.php @coversDefaultClass \Drupal\toolbar\PageCache\AllowToolbarPath
@group toolbar
AllowToolbarPathTest.php file core/modules/toolbar/tests/src/Unit/PageCache/AllowToolbarPathTest.php
AllowToolbarPathTest::$policy property core/modules/toolbar/tests/src/Unit/PageCache/AllowToolbarPathTest.php The toolbar path policy under test.
AllowToolbarPathTest::providerTestAllowToolbarPath function core/modules/toolbar/tests/src/Unit/PageCache/AllowToolbarPathTest.php Provides data and expected results for the test method.
AllowToolbarPathTest::setUp function core/modules/toolbar/tests/src/Unit/PageCache/AllowToolbarPathTest.php
AllowToolbarPathTest::testAllowToolbarPath function core/modules/toolbar/tests/src/Unit/PageCache/AllowToolbarPathTest.php Asserts that caching is allowed if the request goes to toolbar subtree.
AssertContentTrait::assertFieldByXPath function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a field exists in the current page by the given XPath.
AssertContentTrait::assertNoFieldByXPath function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a field does not exist or its value does not match, by XPath.
AssertContentTrait::buildXPathQuery function core/tests/Drupal/KernelTests/AssertContentTrait.php Builds an XPath query.
AssertContentTrait::constructFieldXpath function core/tests/Drupal/KernelTests/AssertContentTrait.php Helper: Constructs an XPath for the given set of attributes and value.
AssertContentTrait::xpath function core/tests/Drupal/KernelTests/AssertContentTrait.php Performs an xpath search on the contents of the internal browser.
AssertLegacyTrait::assertFieldByXPath function core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php Asserts that a field exists in the current page by the given XPath.
AssertLegacyTrait::assertNoFieldByXPath function core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php Asserts that a field does not exist or its value does not match, by XPath.
AssertLegacyTrait::buildXPathQuery function core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php Builds an XPath query.
AssertLegacyTrait::constructFieldXpath function core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php Helper: Constructs an XPath for the given set of attributes and value.
AssertLegacyTraitTest::testConstructFieldXpath function core/tests/Drupal/Tests/Core/Assert/AssertLegacyTraitTest.php @covers ::constructFieldXpath
AttributeTest::getXPathResultCount function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Counts the occurrences of the given XPath query in a given HTML snippet.
BaseFieldDefinitionTestBase::getModuleAndPath function core/tests/Drupal/Tests/Core/Field/BaseFieldDefinitionTestBase.php Returns the module name and the module directory for the plugin.
base_path function core/includes/common.inc Returns the base URL path (i.e., directory) of the Drupal installation.
BrokenInboundPathProcessor class core/modules/system/tests/modules/update_script_test/src/PathProcessor/BrokenInboundPathProcessor.php Example path processor which breaks on inbound.
BrokenInboundPathProcessor.php file core/modules/system/tests/modules/update_script_test/src/PathProcessor/BrokenInboundPathProcessor.php
BrokenInboundPathProcessor::$state property core/modules/system/tests/modules/update_script_test/src/PathProcessor/BrokenInboundPathProcessor.php The state.

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