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
CurrentPathStack::$paths property core/lib/Drupal/Core/Path/CurrentPathStack.php Static cache of paths.
CurrentPathStack::$requestStack property core/lib/Drupal/Core/Path/CurrentPathStack.php The request stack.
CurrentPathStack::getPath function core/lib/Drupal/Core/Path/CurrentPathStack.php Returns the path of the current request.
CurrentPathStack::setPath function core/lib/Drupal/Core/Path/CurrentPathStack.php Sets the current path.
CurrentPathStack::__construct function core/lib/Drupal/Core/Path/CurrentPathStack.php Constructs a new CurrentPathStack instance.
CustomPageExceptionHtmlSubscriber::makeSubrequestToCustomPath function core/lib/Drupal/Core/EventSubscriber/CustomPageExceptionHtmlSubscriber.php Makes a subrequest to retrieve the custom error page.
DatabaseDriver::getExtensionPathname function core/lib/Drupal/Core/Extension/DatabaseDriver.php Returns the relative path of the main extension file, if any.
DatabaseDriver::getPath function core/lib/Drupal/Core/Extension/DatabaseDriver.php Returns the relative path of the extension.
DatabaseDriver::getPathname function core/lib/Drupal/Core/Extension/DatabaseDriver.php Returns the relative path and filename of the extension's info file.
DatabaseDriverList::getPath function core/lib/Drupal/Core/Extension/DatabaseDriverList.php Gets the path to an extension of a specific type (module, theme, etc.).
DatabaseDriverList::getPathname function core/lib/Drupal/Core/Extension/DatabaseDriverList.php Gets the info file path for an extension.
DatabaseDriverList::getPathNames function core/lib/Drupal/Core/Extension/DatabaseDriverList.php Returns a list of extension file paths keyed by machine name.
DatabaseDriverList::recalculatePathNames function core/lib/Drupal/Core/Extension/DatabaseDriverList.php Generates a sorted list of .info.yml file locations for all extensions.
DatabaseDriverList::setPathname function core/lib/Drupal/Core/Extension/DatabaseDriverList.php Sets the pathname for an extension.
DebugDump::$stagingFilePath property core/tests/Drupal/TestTools/Extension/Dump/DebugDump.php The path to the dump staging file.
DefaultViewsTest::testPathDestination function core/modules/views_ui/tests/src/Functional/DefaultViewsTest.php Tests that page displays show the correct path.
DirectoryTest::testFileCreateNewFilepath function core/tests/Drupal/KernelTests/Core/File/DirectoryTest.php Tests the file paths of newly created files.
DisplayLink::isPathBasedDisplay function core/modules/views/src/Plugin/views/area/DisplayLink.php Check if a views display is a path-based display.
DisplayPageWebTest::assertPagePath function core/modules/views/tests/src/Functional/Plugin/DisplayPageWebTest.php Tests that we can successfully change a view page display path.
DisplayPageWebTest::testPagePaths function core/modules/views/tests/src/Functional/Plugin/DisplayPageWebTest.php Tests the views page path functionality.
DisplayPathTest class core/modules/views_ui/tests/src/Functional/DisplayPathTest.php Tests the UI of generic display path plugin.
DisplayPathTest.php file core/modules/views_ui/tests/src/Functional/DisplayPathTest.php
DisplayPathTest::$defaultTheme property core/modules/views_ui/tests/src/Functional/DisplayPathTest.php The theme to install as the default for testing.
DisplayPathTest::$testViews property core/modules/views_ui/tests/src/Functional/DisplayPathTest.php Views used by this test.
DisplayPathTest::doAdvancedPathsValidationTest function core/modules/views_ui/tests/src/Functional/DisplayPathTest.php Tests a couple of invalid path patterns.
DisplayPathTest::doBasicPathUITest function core/modules/views_ui/tests/src/Functional/DisplayPathTest.php Tests basic functionality in configuring a view.
DisplayPathTest::doPathXssFilterTest function core/modules/views_ui/tests/src/Functional/DisplayPathTest.php Tests that View paths are properly filtered for XSS.
DisplayPathTest::setUp function core/modules/views_ui/tests/src/Functional/DisplayPathTest.php Sets up the test.
DisplayPathTest::testDefaultMenuTabRegression function core/modules/views_ui/tests/src/Functional/DisplayPathTest.php Tests the regression in https://www.drupal.org/node/2532490.
DisplayPathTest::testDeleteWithNoPath function core/modules/views_ui/tests/src/Functional/DisplayPathTest.php Tests deleting a page display that has no path.
DisplayPathTest::testMenuOptions function core/modules/views_ui/tests/src/Functional/DisplayPathTest.php Tests the menu and tab option form.
DisplayPathTest::testPathUI function core/modules/views_ui/tests/src/Functional/DisplayPathTest.php Runs the tests.
DisplayPathTest::testUseAdminTheme function core/modules/views_ui/tests/src/Functional/DisplayPathTest.php Tests the "Use the administration theme" configuration.
DisplayPluginBase::getPath function core/modules/views/src/Plugin/views/display/DisplayPluginBase.php Returns the base path to use for this display.
DisplayPluginBase::hasPath function core/modules/views/src/Plugin/views/display/DisplayPluginBase.php Checks to see if the display has a 'path' field.
DisplayPluginInterface::getPath function core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php Returns the base path to use for this display.
DisplayPluginInterface::hasPath function core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php Checks to see if the display has a 'path' field.
DocumentElement::getXpath function core/tests/Drupal/Tests/DocumentElement.php Returns XPath for handled element.
DoubleSlashTest::getAvailablePaths function core/modules/migrate_drupal_ui/tests/src/Functional/d7/DoubleSlashTest.php Gets the available upgrade paths.
DoubleSlashTest::getMissingPaths function core/modules/migrate_drupal_ui/tests/src/Functional/d7/DoubleSlashTest.php Gets the missing upgrade paths.
DoubleSlashTest::getSourceBasePath function core/modules/migrate_drupal_ui/tests/src/Functional/d7/DoubleSlashTest.php Gets the source base path for the concrete test.
Drupal::pathValidator function core/lib/Drupal.php Returns the path validator.
DrupalCoreComposer::createFromPath function composer/Generator/Util/DrupalCoreComposer.php DrupalCoreComposer factory.
DrupalCoreComposer::loadJsonFromPath function composer/Generator/Util/DrupalCoreComposer.php Load json data from the specified path.
DrupalCoreRecommendedBuilder::getPath function composer/Generator/Builder/DrupalCoreRecommendedBuilder.php Return the path to where the metapackage should be written.
DrupalDevDependenciesBuilder::getPath function composer/Generator/Builder/DrupalDevDependenciesBuilder.php Return the path to where the metapackage should be written.
DrupalKernel::$sitePath property core/lib/Drupal/Core/DrupalKernel.php The site path directory.
DrupalKernel::findSitePath function core/lib/Drupal/Core/DrupalKernel.php Returns the appropriate site directory for a request.
DrupalKernel::getSitePath function core/lib/Drupal/Core/DrupalKernel.php Gets the site path directory.
DrupalKernel::setSitePath function core/lib/Drupal/Core/DrupalKernel.php Set the current site path directory.

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