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. Search 11.x for path
  6. Other projects
Title Object type File name Summary
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 Tests Drupal\Core\Routing\PathChangedHelper.
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
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
PathContentModerationTest::$modules property core/modules/path/tests/src/Functional/PathContentModerationTest.php
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
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
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
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
PathElementFormTest::getFormId function core/tests/Drupal/KernelTests/Core/Element/PathElementFormTest.php
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
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
PathEncodedTest::$modules property core/tests/Drupal/FunctionalTests/Routing/PathEncodedTest.php
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.
PathExtractor class core/lib/Drupal/Core/Theme/Plugin/IconExtractor/PathExtractor.php Plugin implementation of the icon_extractor.
PathExtractor.php file core/lib/Drupal/Core/Theme/Plugin/IconExtractor/PathExtractor.php
PathExtractor::discoverIcons function core/lib/Drupal/Core/Theme/Plugin/IconExtractor/PathExtractor.php
PathExtractorTest class core/tests/Drupal/Tests/Core/Theme/Icon/Plugin/PathExtractorTest.php Tests Drupal\Core\Theme\Plugin\IconExtractor\PathExtractor.

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