Search for getPath

  1. Search 7.x for getPath
  2. Search 9.5.x for getPath
  3. Search 8.9.x for getPath
  4. Search 11.x for getPath
  5. Other projects
Title Object type File name Summary
ActiveTheme::getPath function core/lib/Drupal/Core/Theme/ActiveTheme.php Returns the path to the theme directory.
AliasManager::getPathByAlias function core/modules/path_alias/src/AliasManager.php
AliasManagerInterface::getPathByAlias function core/modules/path_alias/src/AliasManagerInterface.php Given the alias, return the path it represents.
AliasManagerTest::testGetPathByAliasLangcode function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getPathByAlias method when a langcode is passed explicitly.
AliasManagerTest::testGetPathByAliasMatch function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getPathByAlias method for an alias that have a matching path.
AliasManagerTest::testGetPathByAliasNoMatch function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getPathByAlias method for an alias that have no matching path.
BuilderInterface::getPath function composer/Generator/BuilderInterface.php Return the path to where the metapackage should be written.
ComposerProjectTemplatesTest::getPathReposForType function core/tests/Drupal/BuildTests/Composer/Template/ComposerProjectTemplatesTest.php Get Composer items that we want to be path repos, from within a directory.
Config::getPathsForPackage function composer/Plugin/VendorHardening/Config.php Get a list of paths to remove for the given package.
ConfigTest::testGetPathsForPackageMixedCase function core/tests/Drupal/Tests/Composer/Plugin/VendorHardening/ConfigTest.php @covers ::getPathsForPackage
CurrentPathStack::getPath function core/lib/Drupal/Core/Path/CurrentPathStack.php Returns the path of the current request.
DatabaseDriver::getPath function core/lib/Drupal/Core/Extension/DatabaseDriver.php
DatabaseDriver::getPathname function core/lib/Drupal/Core/Extension/DatabaseDriver.php
DatabaseDriverList::getPath function core/lib/Drupal/Core/Extension/DatabaseDriverList.php
DatabaseDriverList::getPathname function core/lib/Drupal/Core/Extension/DatabaseDriverList.php
DatabaseDriverList::getPathNames function core/lib/Drupal/Core/Extension/DatabaseDriverList.php
DisplayPluginBase::getPath function core/modules/views/src/Plugin/views/display/DisplayPluginBase.php Returns the base path to use for this display.
DisplayPluginInterface::getPath function core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php Returns the base path to use for this display.
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.
DrupalPinnedDevDependenciesBuilder::getPath function composer/Generator/Builder/DrupalPinnedDevDependenciesBuilder.php Return the path to where the metapackage should be written.
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.
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.
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
ExtensionListTrait::getPathname function core/lib/Drupal/Core/Installer/ExtensionListTrait.php
ExtensionPathResolver::getPath function core/lib/Drupal/Core/Extension/ExtensionPathResolver.php Gets the extension directory path.
ExtensionPathResolver::getPathname function core/lib/Drupal/Core/Extension/ExtensionPathResolver.php Gets the info file path for the extension.
FieldResolver::getPathPartPropertyName function core/modules/jsonapi/src/Context/FieldResolver.php Gets the property name from an entity typed or untyped path part.
FormUploadedFile::getPathname function core/modules/file/src/Upload/FormUploadedFile.php Gets the path to the file.
ImageStyle::getPathToken function core/modules/image/src/Entity/ImageStyle.php Generates a token to protect an image style derivative.
ImageStyleInterface::getPathToken function core/modules/image/src/ImageStyleInterface.php Generates a token to protect an image style derivative.
ImageStyleTest::testGetPathToken function core/modules/image/tests/src/Unit/ImageStyleTest.php @covers ::getPathToken
InputStreamUploadedFile::getPathname function core/modules/file/src/Upload/InputStreamUploadedFile.php
LayoutBuilderOptInTest::getPathForFieldBlock function core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderOptInTest.php Returns the path to update a field block in the UI.
LayoutDefinition::getPath function core/lib/Drupal/Core/Layout/LayoutDefinition.php Gets the base path for this layout definition.
MetadataBubblingUrlGenerator::getPathFromRoute function core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php
MockAliasManager::getPathByAlias function core/modules/system/src/Tests/Routing/MockAliasManager.php
MTimeProtectedFileStorage::getPath function core/lib/Drupal/Component/PhpStorage/MTimeProtectedFileStorage.php
PathAlias::getPath function core/modules/path_alias/src/Entity/PathAlias.php Gets the source path of the alias.
PathAliasInterface::getPath function core/modules/path_alias/src/PathAliasInterface.php Gets the source path of the alias.
PathPluginBase::getPath function core/modules/views/src/Plugin/views/display/PathPluginBase.php Returns the base path to use for this display.
PathValidator::getPathAttributes function core/lib/Drupal/Core/Path/PathValidator.php Gets the matched attributes for a given path.
ProtectedDirectory::getPath function core/lib/Drupal/Core/File/ProtectedDirectory.php Gets the directory path.
ResourceType::getPath function core/modules/jsonapi/src/ResourceType/ResourceType.php Get the resource path.

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