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
image_path_flush function core/modules/image/image.module Clears cached versions of a specific file in all styles.
InboundPathProcessorInterface interface core/lib/Drupal/Core/PathProcessor/InboundPathProcessorInterface.php Defines an interface for classes that process the inbound path.
InboundPathProcessorInterface.php file core/lib/Drupal/Core/PathProcessor/InboundPathProcessorInterface.php
InboundPathProcessorInterface::processInbound function core/lib/Drupal/Core/PathProcessor/InboundPathProcessorInterface.php Processes the inbound path.
IncludeResolver::resolveInternalIncludePaths function core/modules/jsonapi/src/IncludeResolver.php Resolves an array of public field paths.
InputStreamUploadedFile::getPathname function core/modules/file/src/Upload/InputStreamUploadedFile.php Gets the path to the file.
InputStreamUploadedFile::getRealPath function core/modules/file/src/Upload/InputStreamUploadedFile.php Gets the absolute path to the file.
InstallCommand::getSitePath function core/lib/Drupal/Core/Command/InstallCommand.php Gets the site path.
InstallHelper::$module_path property core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php
InstallHelper::getModulePath function core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php Set module_path variable.
InstallHelper::getNodePath function core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php Retrieves the node path of node CSV ID saved during the import process.
InstallHelper::saveNodePath function core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php Saves a node CSV ID generated when saving content.
InstallStorage::getFilePath function core/lib/Drupal/Core/Config/InstallStorage.php Overrides Drupal\Core\Config\FileStorage::getFilePath().
InternalViolation::$arrayPropertyPath property core/lib/Drupal/Core/Field/InternalViolation.php The array property path.
InternalViolation::getPropertyPath function core/lib/Drupal/Core/Field/InternalViolation.php
InternalViolationTest::testSetGetArrayPropertyPath function core/tests/Drupal/Tests/Core/Field/InternalViolationTest.php @covers ::__get
@covers ::__set
IsFrontPathCacheContext class core/lib/Drupal/Core/Cache/Context/IsFrontPathCacheContext.php Defines a cache context for whether the URL is the front page of the site.
IsFrontPathCacheContext.php file core/lib/Drupal/Core/Cache/Context/IsFrontPathCacheContext.php
IsFrontPathCacheContext::$pathMatcher property core/lib/Drupal/Core/Cache/Context/IsFrontPathCacheContext.php
IsFrontPathCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/IsFrontPathCacheContext.php Gets the cacheability metadata for the context.
IsFrontPathCacheContext::getContext function core/lib/Drupal/Core/Cache/Context/IsFrontPathCacheContext.php Returns the string representation of the cache context.
IsFrontPathCacheContext::getLabel function core/lib/Drupal/Core/Cache/Context/IsFrontPathCacheContext.php Returns the label of the cache context.
IsFrontPathCacheContext::__construct function core/lib/Drupal/Core/Cache/Context/IsFrontPathCacheContext.php Constructs an IsFrontPathCacheContext object.
IsFrontPathCacheContextTest class core/tests/Drupal/Tests/Core/Cache/Context/IsFrontPathCacheContextTest.php @coversDefaultClass \Drupal\Core\Cache\Context\IsFrontPathCacheContext
@group Cache
IsFrontPathCacheContextTest.php file core/tests/Drupal/Tests/Core/Cache/Context/IsFrontPathCacheContextTest.php
IsFrontPathCacheContextTest::createPathMatcher function core/tests/Drupal/Tests/Core/Cache/Context/IsFrontPathCacheContextTest.php Creates a PathMatcherInterface prophecy.
IsFrontPathCacheContextTest::testGetContextFront function core/tests/Drupal/Tests/Core/Cache/Context/IsFrontPathCacheContextTest.php @covers ::getContext
IsFrontPathCacheContextTest::testGetContextNotFront function core/tests/Drupal/Tests/Core/Cache/Context/IsFrontPathCacheContextTest.php @covers ::getContext
JqueryUiLibraryAssetsTest::trimFilePath function core/tests/Drupal/FunctionalTests/Libraries/JqueryUiLibraryAssetsTest.php Removes base_url() and query args from file paths.
language.content_settings.path_alias.path_alias.yml file core/modules/path/config/optional/language.content_settings.path_alias.path_alias.yml core/modules/path/config/optional/language.content_settings.path_alias.path_alias.yml
LanguageBlock::$pathMatcher property core/modules/language/src/Plugin/Block/LanguageBlock.php The path matcher.
LanguageNegotiationContentEntity::$contentEntityPaths property core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationContentEntity.php A list of all the link paths of enabled content entities.
LanguageNegotiationContentEntity::$paths property core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationContentEntity.php Static cache of outbound route paths per request.
LanguageNegotiationContentEntity::getContentEntityPaths function core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationContentEntity.php Returns the paths for the link templates of all content entities.
LanguageNegotiationUrl::CONFIG_PATH_PREFIX constant core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationUrl.php URL language negotiation: use the path prefix as URL language indicator.
LanguageNegotiationUrlTest::providerTestPathPrefix function core/modules/language/tests/src/Unit/LanguageNegotiationUrlTest.php Provides data for the path prefix test.
LanguageNegotiationUrlTest::testPathPrefix function core/modules/language/tests/src/Unit/LanguageNegotiationUrlTest.php Tests path prefix language negotiation and outbound path processing.
LanguageNegotiationUserAdmin::$pathProcessorManager property core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php The path processor manager.
LanguageNegotiationUserAdmin::isAdminPath function core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php Checks whether the given path is an administrative one.
LanguagePathMonolingualTest class core/modules/language/tests/src/Functional/LanguagePathMonolingualTest.php Confirm that paths are not changed on monolingual non-English sites.
LanguagePathMonolingualTest.php file core/modules/language/tests/src/Functional/LanguagePathMonolingualTest.php
LanguagePathMonolingualTest::$defaultTheme property core/modules/language/tests/src/Functional/LanguagePathMonolingualTest.php The theme to install as the default for testing.
LanguagePathMonolingualTest::$modules property core/modules/language/tests/src/Functional/LanguagePathMonolingualTest.php Modules to install.
LanguagePathMonolingualTest::setUp function core/modules/language/tests/src/Functional/LanguagePathMonolingualTest.php
LanguagePathMonolingualTest::testPageLinks function core/modules/language/tests/src/Functional/LanguagePathMonolingualTest.php Verifies that links do not have language prefixes in them.
LanguageSwitchingTest::testRestrictedPaths function core/modules/language/tests/src/Functional/LanguageSwitchingTest.php Test that the language switching block does not expose restricted paths.
Layout::$path property core/lib/Drupal/Core/Layout/Annotation/Layout.php Path (relative to the module or theme) to resources like icon or template.
LayoutBuilderOptInTest::getPathForFieldBlock function core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderOptInTest.php Returns the path to update a field block in the UI.
LayoutDefinition::$path property core/lib/Drupal/Core/Layout/LayoutDefinition.php Path (relative to the module or theme) to resources like icon or template.
LayoutDefinition::$templatePath property core/lib/Drupal/Core/Layout/LayoutDefinition.php The path to the template.

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