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
Route::$pathValidator property core/modules/migrate/src/Plugin/migrate/process/Route.php The path validator service.
RouteCachingNonPathLanguageNegotiationTest class core/tests/Drupal/FunctionalTests/Routing/RouteCachingNonPathLanguageNegotiationTest.php Tests the route cache when the language is not in the path.
RouteCachingNonPathLanguageNegotiationTest.php file core/tests/Drupal/FunctionalTests/Routing/RouteCachingNonPathLanguageNegotiationTest.php
RouteCachingNonPathLanguageNegotiationTest::$adminUser property core/tests/Drupal/FunctionalTests/Routing/RouteCachingNonPathLanguageNegotiationTest.php The admin user.
RouteCachingNonPathLanguageNegotiationTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Routing/RouteCachingNonPathLanguageNegotiationTest.php The theme to install as the default for testing.
RouteCachingNonPathLanguageNegotiationTest::$modules property core/tests/Drupal/FunctionalTests/Routing/RouteCachingNonPathLanguageNegotiationTest.php Modules to install.
RouteCachingNonPathLanguageNegotiationTest::setUp function core/tests/Drupal/FunctionalTests/Routing/RouteCachingNonPathLanguageNegotiationTest.php
RouteCachingNonPathLanguageNegotiationTest::testAliases function core/tests/Drupal/FunctionalTests/Routing/RouteCachingNonPathLanguageNegotiationTest.php Tests aliases when the negotiated language is not in the path.
RouteCompiler::getPathWithoutDefaults function core/lib/Drupal/Core/Routing/RouteCompiler.php Returns the path of the route, without placeholders with a default value.
RoutePathGenerationTrait trait core/lib/Drupal/Core/Access/RoutePathGenerationTrait.php Provides a method for generating route paths.
RoutePathGenerationTrait.php file core/lib/Drupal/Core/Access/RoutePathGenerationTrait.php
RoutePathGenerationTrait::generateRoutePath function core/lib/Drupal/Core/Access/RoutePathGenerationTrait.php Generates a route path by replacing placeholders with their values.
RoutePathGenerationTraitTest class core/tests/Drupal/Tests/Core/Access/RoutePathGenerationTraitTest.php @covers \Drupal\Core\Access\RoutePathGenerationTrait[[api-linebreak]]
@group Access
RoutePathGenerationTraitTest.php file core/tests/Drupal/Tests/Core/Access/RoutePathGenerationTraitTest.php
RoutePathGenerationTraitTest::$accessCheck property core/tests/Drupal/Tests/Core/Access/RoutePathGenerationTraitTest.php The CSRF access checker.
RoutePathGenerationTraitTest::$csrfToken property core/tests/Drupal/Tests/Core/Access/RoutePathGenerationTraitTest.php The mock CSRF token generator.
RoutePathGenerationTraitTest::$processor property core/tests/Drupal/Tests/Core/Access/RoutePathGenerationTraitTest.php The route processor.
RoutePathGenerationTraitTest::$requestStack property core/tests/Drupal/Tests/Core/Access/RoutePathGenerationTraitTest.php The request stack.
RoutePathGenerationTraitTest::providerTestCsrfTokenCompleteLifeCycle function core/tests/Drupal/Tests/Core/Access/RoutePathGenerationTraitTest.php Data provider for testCsrfTokenCompleteLifeCycle().
RoutePathGenerationTraitTest::setUp function core/tests/Drupal/Tests/Core/Access/RoutePathGenerationTraitTest.php
RoutePathGenerationTraitTest::testCsrfTokenCompleteLifeCycle function core/tests/Drupal/Tests/Core/Access/RoutePathGenerationTraitTest.php Tests that CSRF token creation and validation is consistent.
RoutePreloaderTest::testOnAlterRoutesWithAdminPathNoAdminRoute function core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php Tests onAlterRoutes with "admin" appearing in the path.
RouteProvider::$currentPath property core/lib/Drupal/Core/Routing/RouteProvider.php The current path.
RouteProvider::$pathProcessor property core/lib/Drupal/Core/Routing/RouteProvider.php A path processor manager for resolving the system path.
RouteProvider::getRoutesByPath function core/lib/Drupal/Core/Routing/RouteProvider.php Get all routes which match a certain pattern.
RouteProviderTest::$currentPath property core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php The current path.
RouteProviderTest::$pathProcessor property core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php The inbound path processor.
RouteProviderTest::providerDuplicateRoutePaths function core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php Data provider for testMixedCasePaths()
RouteProviderTest::providerMixedCaseRoutePaths function core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php Data provider for testMixedCasePaths()
RouteProviderTest::testDuplicateRoutePaths function core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php Confirms that we find all routes with the same path.
RouteProviderTest::testEmptyPathCandidatesOutlines function core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php Don't fail when given an empty path.
RouteProviderTest::testExactPathMatch function core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php Confirms that we can find routes with the exact incoming path.
RouteProviderTest::testMixedCasePaths function core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php Confirms that we find routes using a case-insensitive path match.
RouteProviderTest::testOutlinePathMatch function core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php Confirms that we can find routes whose pattern would match the request.
RouteProviderTest::testOutlinePathMatchDefaults function core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php Confirms that we can find routes whose pattern would match the request.
RouteProviderTest::testOutlinePathMatchDefaultsCollision function core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php Confirms that we can find routes whose pattern would match the request.
RouteProviderTest::testOutlinePathMatchDefaultsCollision2 function core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php Confirms that we can find routes whose pattern would match the request.
RouteProviderTest::testOutlinePathMatchDefaultsCollision3 function core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php Confirms that we can find multiple routes that match the request equally.
RouteProviderTest::testOutlinePathMatchTrailingSlash function core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php Confirms that a trailing slash on the request does not result in a 404.
RouteProviderTest::testOutlinePathMatchZero function core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php Tests a route with a 0 as value.
RouteProviderTest::testOutlinePathNoMatch function core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php Confirms that an exception is thrown when no matching path is found.
router.path_roots_subscriber service core/core.services.yml Drupal\Core\EventSubscriber\PathRootsSubscriber
RouterTest::testDuplicateRoutePaths function core/modules/system/tests/src/Functional/Routing/RouterTest.php Confirms that multiple routes with the same path do not cause an error.
Routes::$jsonApiBasePath property core/modules/jsonapi/src/Routing/Routes.php The JSON:API base path.
RouteSubscriber::$basePath property core/modules/block_content/src/Routing/RouteSubscriber.php The current base path.
RouteSubscriber::$basePathBc property core/modules/block_content/src/Routing/RouteSubscriber.php The BC base path.
RoutingFixtures::duplicatePathsRouteCollection function core/tests/Drupal/Tests/Core/Routing/RoutingFixtures.php Returns a complex set of routes for testing.
SandboxManagerBase::getPathsToExclude function core/modules/package_manager/src/SandboxManagerBase.php Collects paths that Composer Stager should exclude.
SandboxManagerBaseTest::testCollectPathsToExclude function core/modules/package_manager/tests/src/Kernel/SandboxManagerBaseTest.php Tests that paths to exclude are collected before create and apply.
SandboxManagerBaseTest::testFailureCollectPathsToExclude function core/modules/package_manager/tests/src/Kernel/SandboxManagerBaseTest.php Tests that if a stage fails to get paths to exclude, throws a stage exception.

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