Search for path

  1. Search 7.x for path
  2. Search 9.5.x for path
  3. Search 8.9.x for path
  4. Search 11.x for path
  5. Other projects
Title Object type File name Summary
PathBasedBreadcrumbBuilderTest::testBuildWithUserPath function core/modules/system/tests/src/Unit/Breadcrumbs/PathBasedBreadcrumbBuilderTest.php Tests the breadcrumb for a user path.
PathCacheContext class core/lib/Drupal/Core/Cache/Context/PathCacheContext.php Defines the PathCacheContext service, for "per URL path" caching.
PathCacheContext.php file core/lib/Drupal/Core/Cache/Context/PathCacheContext.php
PathCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/PathCacheContext.php Gets the cacheability metadata for the context.
PathCacheContext::getContext function core/lib/Drupal/Core/Cache/Context/PathCacheContext.php Returns the string representation of the cache context.
PathCacheContext::getLabel function core/lib/Drupal/Core/Cache/Context/PathCacheContext.php Returns the label of the cache context.
PathChangedHelper class core/lib/Drupal/Core/Routing/PathChangedHelper.php Provides helper functions for handling path changes.
PathChangedHelper.php file core/lib/Drupal/Core/Routing/PathChangedHelper.php
PathChangedHelper::$newUrl property core/lib/Drupal/Core/Routing/PathChangedHelper.php The URL object for the route whose path has changed.
PathChangedHelper::$oldUrl property core/lib/Drupal/Core/Routing/PathChangedHelper.php The URL object for the BC route.
PathChangedHelper::newPath function core/lib/Drupal/Core/Routing/PathChangedHelper.php Returns the updated path.
PathChangedHelper::oldPath function core/lib/Drupal/Core/Routing/PathChangedHelper.php Returns the deprecated path.
PathChangedHelper::redirect function core/lib/Drupal/Core/Routing/PathChangedHelper.php Returns a redirect to the new path.
PathChangedHelper::__construct function core/lib/Drupal/Core/Routing/PathChangedHelper.php Constructs a PathChangedHelper object.
PathChangedHelperTest class core/tests/Drupal/KernelTests/Core/Routing/PathChangedHelperTest.php Tests the PathChangedHelper class.
PathChangedHelperTest class core/tests/Drupal/Tests/Core/Routing/PathChangedHelperTest.php @coversDefaultClass \Drupal\Core\Routing\PathChangedHelper
@group Routing
PathChangedHelperTest.php file core/tests/Drupal/KernelTests/Core/Routing/PathChangedHelperTest.php
PathChangedHelperTest.php file core/tests/Drupal/Tests/Core/Routing/PathChangedHelperTest.php
PathChangedHelperTest::$modules property core/tests/Drupal/KernelTests/Core/Routing/PathChangedHelperTest.php Modules to install.
PathChangedHelperTest::testPathChangedHelper function core/tests/Drupal/KernelTests/Core/Routing/PathChangedHelperTest.php Tests creating a PathChangedHelper object and getting paths.
PathChangedHelperTest::testPathChangedHelperException function core/tests/Drupal/Tests/Core/Routing/PathChangedHelperTest.php Tests that the constructor validates its arguments.
PathContentModerationTest class core/modules/path/tests/src/Functional/PathContentModerationTest.php Tests path aliases with Content Moderation.
PathContentModerationTest.php file core/modules/path/tests/src/Functional/PathContentModerationTest.php
PathContentModerationTest::$defaultTheme property core/modules/path/tests/src/Functional/PathContentModerationTest.php The theme to install as the default for testing.
PathContentModerationTest::$modules property core/modules/path/tests/src/Functional/PathContentModerationTest.php Modules to install.
PathContentModerationTest::assertPathsAreAccessible function core/modules/path/tests/src/Functional/PathContentModerationTest.php Helper callback to verify paths are responding with status 200.
PathContentModerationTest::setUp function core/modules/path/tests/src/Functional/PathContentModerationTest.php
PathContentModerationTest::testNodePathAlias function core/modules/path/tests/src/Functional/PathContentModerationTest.php Tests node path aliases on a moderated content type.
PathContentModerationTest::testTranslatedModeratedNodeAlias function core/modules/path/tests/src/Functional/PathContentModerationTest.php Tests that translated and moderated node can get new draft revision.
PathElement class core/lib/Drupal/Core/Render/Element/PathElement.php Provides a matched path render element.
PathElement.php file core/lib/Drupal/Core/Render/Element/PathElement.php
PathElement::CONVERT_NONE constant core/lib/Drupal/Core/Render/Element/PathElement.php Do not convert the submitted value from the user-supplied path.
PathElement::CONVERT_ROUTE constant core/lib/Drupal/Core/Render/Element/PathElement.php Convert the submitted value into a route name and parameter pair.
PathElement::CONVERT_URL constant core/lib/Drupal/Core/Render/Element/PathElement.php Convert the submitted value into a \Drupal\Core\Url value object.
PathElement::getInfo function core/lib/Drupal/Core/Render/Element/PathElement.php Returns the element properties for this element.
PathElement::validateMatchedPath function core/lib/Drupal/Core/Render/Element/PathElement.php Form element validation handler for matched_path elements.
PathElement::valueCallback function core/lib/Drupal/Core/Render/Element/PathElement.php Determines how user input is mapped to an element's #value property.
PathElementFormTest class core/tests/Drupal/KernelTests/Core/Element/PathElementFormTest.php Tests PathElement validation and conversion functionality.
PathElementFormTest.php file core/tests/Drupal/KernelTests/Core/Element/PathElementFormTest.php
PathElementFormTest::$modules property core/tests/Drupal/KernelTests/Core/Element/PathElementFormTest.php Modules to install.
PathElementFormTest::$testUser property core/tests/Drupal/KernelTests/Core/Element/PathElementFormTest.php User for testing.
PathElementFormTest::buildForm function core/tests/Drupal/KernelTests/Core/Element/PathElementFormTest.php Form constructor.
PathElementFormTest::getFormId function core/tests/Drupal/KernelTests/Core/Element/PathElementFormTest.php Returns a unique string identifying the form.
PathElementFormTest::setUp function core/tests/Drupal/KernelTests/Core/Element/PathElementFormTest.php Sets up the test.
PathElementFormTest::submitForm function core/tests/Drupal/KernelTests/Core/Element/PathElementFormTest.php Form submission handler.
PathElementFormTest::testPathElement function core/tests/Drupal/KernelTests/Core/Element/PathElementFormTest.php Tests that default handlers are added even if custom are specified.
PathElementFormTest::validateForm function core/tests/Drupal/KernelTests/Core/Element/PathElementFormTest.php Form validation handler.
PathEncodedTest class core/tests/Drupal/FunctionalTests/Routing/PathEncodedTest.php Tests URL generation and routing for route paths with encoded characters.
PathEncodedTest.php file core/tests/Drupal/FunctionalTests/Routing/PathEncodedTest.php
PathEncodedTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Routing/PathEncodedTest.php The theme to install as the default for testing.

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