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 10.3.x for path
  5. Other projects
Title Object type File name Summary
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.
PathEncodedTest::$modules property core/tests/Drupal/FunctionalTests/Routing/PathEncodedTest.php Modules to install.
PathEncodedTest::testAliasToEncoded function core/tests/Drupal/FunctionalTests/Routing/PathEncodedTest.php
PathEncodedTest::testGetEncoded function core/tests/Drupal/FunctionalTests/Routing/PathEncodedTest.php
PathEncodedTestController class core/modules/system/tests/modules/path_encoded_test/src/Controller/PathEncodedTestController.php Returns responses for path_encoded_test routes.
PathEncodedTestController.php file core/modules/system/tests/modules/path_encoded_test/src/Controller/PathEncodedTestController.php
PathEncodedTestController::simple function core/modules/system/tests/modules/path_encoded_test/src/Controller/PathEncodedTestController.php Returns an HTML simple response.
PathFieldDefinitionTest class core/modules/path/tests/src/Unit/Field/PathFieldDefinitionTest.php @coversDefaultClass \Drupal\Core\Field\BaseFieldDefinition
@group path

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