Search for getPathFromRoute

  1. Search 7.x for getPathFromRoute
  2. Search 9.5.x for getPathFromRoute
  3. Search 8.9.x for getPathFromRoute
  4. Search 10.3.x for getPathFromRoute
  5. Other projects
Title Object type File name Summary
MetadataBubblingUrlGenerator::getPathFromRoute function core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php Gets the internal path (system path) for a route.
SupernovaGenerator::getPathFromRoute function core/modules/help/tests/modules/help_test/src/SupernovaGenerator.php Gets the internal path (system path) for a route.
UrlGenerator::getPathFromRoute function core/lib/Drupal/Core/Routing/UrlGenerator.php Gets the internal path (system path) for a route.
UrlGeneratorInterface::getPathFromRoute function core/lib/Drupal/Core/Routing/UrlGeneratorInterface.php Gets the internal path (system path) for a route.
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.

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