Search for getPath

  1. Search 7.x for getPath
  2. Search 9.5.x for getPath
  3. Search 10.3.x for getPath
  4. Search 11.x for getPath
  5. Other projects
Title Object type File name Summary
SearchPageInterface::getPath function core/modules/search/src/SearchPageInterface.php Returns the path for the search.
SessionHttpsTest::getPathFromLocationHeader function core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php Extracts internal path from the location header on the response.
SupernovaGenerator::getPathFromRoute function core/modules/help/tests/modules/help_test/src/SupernovaGenerator.php Gets the internal path (system path) for a route.
TestLibraryDiscoveryParser::drupalGetPath function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php Wraps drupal_get_path().
TwigExtension::getPath function core/lib/Drupal/Core/Template/TwigExtension.php Generates a URL path given a route name and parameters.
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.
ViewExecutable::getPath function core/modules/views/src/ViewExecutable.php Gets the base path used for this view.

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