Search for path

  1. Search 7.x for path
  2. Search 8.9.x for path
  3. Search 10.3.x for path
  4. Search 11.x for path
  5. Other projects
Title Object type File name Summary
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.
DrupalKernelInterface::getSitePath function core/lib/Drupal/Core/DrupalKernelInterface.php Gets the site path directory.
DrupalKernelInterface::setSitePath function core/lib/Drupal/Core/DrupalKernelInterface.php Set the current site path directory.
DrupalKernelTest::testFindSitePath function core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php Tests site path finding.
DrupalKernelTest::testPreventChangeOfSitePath function core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelTest.php Tests setting of site path after kernel boot.
DrupalPinnedDevDependenciesBuilder::getPath function composer/Generator/Builder/DrupalPinnedDevDependenciesBuilder.php Return the path to where the metapackage should be written.
DrupalSelenium2Driver::uploadFileAndGetRemoteFilePath function core/tests/Drupal/FunctionalJavascriptTests/DrupalSelenium2Driver.php Uploads a file to the Selenium instance and returns the remote path.
DrupalSelenium2DriverTest::testGetRemoteFilePath function core/tests/Drupal/FunctionalJavascriptTests/Tests/DrupalSelenium2DriverTest.php Tests uploading remote files.
DrupalTest::testPathValidator function core/tests/Drupal/Tests/Core/DrupalTest.php Tests the pathValidator() method.
drupal_get_path function core/includes/bootstrap.inc Returns the path to a system item (module, theme, etc.).
DummyExternalReadOnlyWrapper::realpath function core/modules/file/tests/file_test/src/StreamWrapper/DummyExternalReadOnlyWrapper.php Returns canonical, absolute path of the resource.
DummyReadOnlyStreamWrapper::getDirectoryPath function core/modules/file/tests/file_test/src/StreamWrapper/DummyReadOnlyStreamWrapper.php Gets the path that the wrapper is responsible for.
DummyRemoteStreamWrapper::realpath function core/modules/file/tests/file_test/src/StreamWrapper/DummyRemoteStreamWrapper.php Returns canonical, absolute path of the resource.
DummyStreamWrapper::getDirectoryPath function core/modules/file/tests/file_test/src/StreamWrapper/DummyStreamWrapper.php Gets the path that the wrapper is responsible for.
EntityAdapterUnitTest::testGetPropertyPath function core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php @covers ::getPropertyPath
EntityCondition::PATH_KEY constant core/modules/jsonapi/src/Query/EntityCondition.php The field key in the filter condition: filter[lorem][condition][<field>].
EntityFormDisplay::movePropertyPathViolationsRelativeToField function core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php Moves the property path to be relative to field level.
EntityTypeTest::testSetLinkTemplateWithInvalidPath function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php @covers ::setLinkTemplate
ExecutionContext::$propertyPath property core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php The property path leading to the current value.
ExecutionContext::getPropertyPath function core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
extension.path.resolver service core/core.services.yml Drupal\Core\Extension\ExtensionPathResolver
Extension::$pathname property core/lib/Drupal/Core/Extension/Extension.php The relative pathname of the extension (e.g., 'core/modules/node/node.info.yml').
Extension::getExtensionPathname function core/lib/Drupal/Core/Extension/Extension.php Returns the relative path of the main extension file, if any.
Extension::getPath function core/lib/Drupal/Core/Extension/Extension.php Returns the relative path of the extension.
Extension::getPathname function core/lib/Drupal/Core/Extension/Extension.php Returns the relative path and filename of the extension's info file.
ExtensionDiscovery::$sitePath property core/lib/Drupal/Core/Extension/ExtensionDiscovery.php The site path.
ExtensionList::$addedPathNames property core/lib/Drupal/Core/Extension/ExtensionList.php A list of extension folder names directly added in code (not discovered).
ExtensionList::$pathNames property core/lib/Drupal/Core/Extension/ExtensionList.php A list of extension folder names keyed by extension name.
ExtensionList::getPath function core/lib/Drupal/Core/Extension/ExtensionList.php Gets the path to an extension of a specific type (module, theme, etc.).
ExtensionList::getPathname function core/lib/Drupal/Core/Extension/ExtensionList.php Gets the info file path for an extension.
ExtensionList::getPathnames function core/lib/Drupal/Core/Extension/ExtensionList.php Returns a list of extension file paths keyed by machine name.
ExtensionList::getPathnamesCacheId function core/lib/Drupal/Core/Extension/ExtensionList.php Returns the extension filenames cache ID.
ExtensionList::recalculatePathnames function core/lib/Drupal/Core/Extension/ExtensionList.php Generates a sorted list of .info.yml file locations for all extensions.
ExtensionList::setPathname function core/lib/Drupal/Core/Extension/ExtensionList.php Sets the pathname for an extension.
ExtensionListTest::testGetPath function core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php @covers ::getPath
ExtensionListTest::testGetPathname function core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php @covers ::getPathname
ExtensionListTest::testGetPathnames function core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php @covers ::getPathnames
ExtensionListTest::testSetPathname function core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php @covers ::setPathname
@covers ::getPathname
ExtensionListTestTrait::getModulePath function core/tests/Drupal/Tests/ExtensionListTestTrait.php Gets the path for the specified module.
ExtensionListTestTrait::getThemePath function core/tests/Drupal/Tests/ExtensionListTestTrait.php Gets the path for the specified theme.
ExtensionListTrait::$staticAddedPathNames property core/lib/Drupal/Core/Installer/ExtensionListTrait.php Static version of the added file names during the installer.

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