Search for getPathFromRoute

  1. Search 7.x for getPathFromRoute
  2. Search 8.9.x for getPathFromRoute
  3. Search 10.3.x for getPathFromRoute
  4. Search 11.x for getPathFromRoute
  5. Other projects
Title Object type File name Summary
MetadataBubblingUrlGenerator::getPathFromRoute function core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php
SupernovaGenerator::getPathFromRoute function core/modules/help/tests/modules/help_test/src/SupernovaGenerator.php
UrlGenerator::getPathFromRoute function core/lib/Drupal/Core/Routing/UrlGenerator.php
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.