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
UrlGenerator::processPath function core/lib/Drupal/Core/Routing/UrlGenerator.php Passes the path to a processor manager to allow alterations.
UrlGeneratorInterface::getPathFromRoute function core/lib/Drupal/Core/Routing/UrlGeneratorInterface.php Gets the internal path (system path) for a route.
UrlGeneratorTest::providerTestNoPath function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php Data provider for ::testNoPath().
UrlGeneratorTest::testGenerateWithPathProcessorChangingOptions function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php @covers \Drupal\Core\Routing\UrlGenerator::generateFromRoute[[api-linebreak]]
UrlGeneratorTest::testGetPathFromRouteTrailing function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php Tests URL generation from route with trailing start and end slashes.
UrlGeneratorTest::testGetPathFromRouteWithSubdirectory function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php Tests URL generation in a subdirectory.
UrlGeneratorTest::testNoPath function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php Tests generating a relative URL with no path.
UrlGeneratorTest::testUrlGenerationWithDisabledPathProcessing function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php @covers ::generateFromRoute[[api-linebreak]]
UrlGeneratorTest::testUrlGenerationWithDisabledPathProcessingByRoute function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php @covers ::generateFromRoute[[api-linebreak]]
UrlGeneratorTest::testUrlGenerationWithDisabledPathProcessingByRouteAndOptedInPathProcessing function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php @covers ::generateFromRoute[[api-linebreak]]
UrlHelper::encodePath function core/lib/Drupal/Component/Utility/UrlHelper.php Encodes a Drupal path for use in a URL.
UrlHelperTest::providerTestEncodePath function core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php Provides data for self::testEncodePath().
UrlHelperTest::testEncodePath function core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php Tests path encoding.
UrlMatcher::$currentPath property core/lib/Drupal/Core/Routing/UrlMatcher.php The current path.
UrlTest::$pathAliasManager property core/tests/Drupal/Tests/Core/UrlTest.php The path alias manager.
UrlTest::$pathValidator property core/tests/Drupal/Tests/Core/UrlTest.php The mocked path validator.
UrlTest::testFromRoutedPathWithInvalidRoute function core/tests/Drupal/Tests/Core/UrlTest.php Tests fromUri() method with a user-entered path not matching any route.
UrlTest::testFromRoutedPathWithValidRoute function core/tests/Drupal/Tests/Core/UrlTest.php Tests fromUri() method with user-entered path matching a valid route.
UrlTest::testGetInternalPath function core/tests/Drupal/Tests/Core/UrlTest.php Tests the getInternalPath method().
url_alter_test.path_processor service core/modules/system/tests/modules/url_alter_test/url_alter_test.services.yml Drupal\url_alter_test\PathProcessorTest
UserController::validatePathParameters function core/modules/user/src/Controller/UserController.php Validates hash and timestamp.
UserPathTest class core/modules/views/tests/src/Functional/UserPathTest.php Tests overriding user paths using wildcards.
UserPathTest.php file core/modules/views/tests/src/Functional/UserPathTest.php
UserPathTest::$defaultTheme property core/modules/views/tests/src/Functional/UserPathTest.php The theme to install as the default for testing.
UserPathTest::$modules property core/modules/views/tests/src/Functional/UserPathTest.php Modules to install.
UserPathTest::$testViews property core/modules/views/tests/src/Functional/UserPathTest.php The test views to use.
UserPathTest::testUserLoginPage function core/modules/views/tests/src/Functional/UserPathTest.php Tests if the login page is still available when using a wildcard path.
UserPictureFile::$filePath property core/modules/user/src/Plugin/migrate/source/d6/UserPictureFile.php The file directory path.
UserPictureFile::$tempFilePath property core/modules/user/src/Plugin/migrate/source/d6/UserPictureFile.php The temporary file path.
ValidationTestTrait::resolvePlaceholdersInArrayValuesWithRealPaths function core/modules/package_manager/tests/src/Traits/ValidationTestTrait.php Resolves <PROJECT_ROOT>, <VENDOR_DIR>, <STAGE_ROOT>, <STAGE_ROOT_PARENT>.
ValidPathConstraint class core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/ValidPathConstraint.php Validation constraint for valid system paths.
ValidPathConstraint.php file core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/ValidPathConstraint.php
ValidPathConstraint::$message property core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/ValidPathConstraint.php The default violation message.
ValidPathConstraintValidator class core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/ValidPathConstraintValidator.php Constraint validator for validating system paths.
ValidPathConstraintValidator.php file core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/ValidPathConstraintValidator.php
ValidPathConstraintValidator::$pathValidator property core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/ValidPathConstraintValidator.php The path validator.
ValidPathConstraintValidator::create function core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/ValidPathConstraintValidator.php Instantiates a new instance of this class.
ValidPathConstraintValidator::validate function core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/ValidPathConstraintValidator.php
ValidPathConstraintValidator::__construct function core/lib/Drupal/Core/Path/Plugin/Validation/Constraint/ValidPathConstraintValidator.php Creates a new ValidPathConstraintValidator instance.
VendorHardeningPlugin::cleanPathsForPackage function composer/Plugin/VendorHardening/VendorHardeningPlugin.php Clean the installed directories for a named package.
VendorHardeningPlugin::getInstallPathForPackage function composer/Plugin/VendorHardening/VendorHardeningPlugin.php Gets the installed path for a package.
VendorHardeningPluginTest::testCleanPathsForPackage function core/tests/Drupal/Tests/Composer/Plugin/VendorHardening/VendorHardeningPluginTest.php @covers ::cleanPathsForPackage[[api-linebreak]]
ViewAjaxController::$currentPath property core/modules/views/src/Controller/ViewAjaxController.php The current path.
ViewAjaxControllerTest::$currentPath property core/modules/views/tests/src/Unit/Controller/ViewAjaxControllerTest.php The mocked current path.
ViewAjaxControllerTest::testAjaxViewViewPathNoSlash function core/modules/views/tests/src/Unit/Controller/ViewAjaxControllerTest.php Tests a valid view with a view_path with no slash.
ViewExecutable::$override_path property core/modules/views/src/ViewExecutable.php Allow to override the path used for generated URLs.
ViewExecutable::getPath function core/modules/views/src/ViewExecutable.php Gets the base path used for this view.
ViewExecutableTest::testGetUrlWithPathNoPlaceholders function core/modules/views/tests/src/Unit/ViewExecutableTest.php @covers ::getUrl[[api-linebreak]]
views.view.test_node_path_plugin.yml file core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_path_plugin.yml core/modules/node/tests/modules/node_test_views/test_views/views.view.test_node_path_plugin.yml
views.view.test_page_display_path.yml file core/modules/views/tests/modules/views_test_config/test_views/views.view.test_page_display_path.yml core/modules/views/tests/modules/views_test_config/test_views/views.view.test_page_display_path.yml

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