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
SessionHttpsTest::getPathFromLocationHeader function core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php Extracts internal path from the location header on the response.
SettingsConfigValidationTest::testPreviewImagePathIsValidated function core/modules/image/tests/src/Kernel/SettingsConfigValidationTest.php Tests that the preview_image setting must be an existing image file.
SettingsForm::validateLogoPath function core/modules/navigation/src/Form/SettingsForm.php Helper function for the navigation settings form.
ShortcutLinksTest::testShortcutLinkChangePath function core/modules/shortcut/tests/src/Functional/ShortcutLinksTest.php Tests that changing the path of a shortcut link works.
ShortcutSetController::$pathValidator property core/modules/shortcut/src/Controller/ShortcutSetController.php The path validator.
SiteConfigurationExcluder::getDefaultSiteDirectoryPath function core/modules/package_manager/src/PathExcluder/SiteConfigurationExcluder.php Returns the full path to `sites/default`, relative to a root directory.
SiteConfigurationExcluderTest::testExcludedPaths function core/modules/package_manager/tests/src/Kernel/PathExcluder/SiteConfigurationExcluderTest.php Tests that certain paths are excluded from stage operations.
SiteInformationForm::$pathValidator property core/modules/system/src/Form/SiteInformationForm.php The path validator.
SkippablePathBasedBreadcrumbBuilder class core/modules/system/tests/modules/menu_test/src/SkippablePathBasedBreadcrumbBuilder.php A path-based breadcrumb builder can be skipped from applying.
SkippablePathBasedBreadcrumbBuilder.php file core/modules/system/tests/modules/menu_test/src/SkippablePathBasedBreadcrumbBuilder.php
SkippablePathBasedBreadcrumbBuilder::applies function core/modules/system/tests/modules/menu_test/src/SkippablePathBasedBreadcrumbBuilder.php Whether this breadcrumb builder should be used to build the breadcrumb.
SkippablePathBasedBreadcrumbBuilder::build function core/modules/system/tests/modules/menu_test/src/SkippablePathBasedBreadcrumbBuilder.php Builds the breadcrumb.
SkippablePathBasedBreadcrumbBuilder::__construct function core/modules/system/tests/modules/menu_test/src/SkippablePathBasedBreadcrumbBuilder.php
Sort::PATH_KEY constant core/modules/jsonapi/src/Query/Sort.php The field key in the sort parameter: sort[lorem][<field>].
SortTest::$filePath property core/tests/Drupal/Tests/PhpCs/SortTest.php The path of phpcs.xml.dist file.
SortTest::$filePath property core/tests/Drupal/Tests/CSpell/SortTest.php The path to the dictionary file.
SourceProviderTest::getAvailablePaths function core/modules/migrate_drupal_ui/tests/src/Functional/SourceProviderTest.php Gets the available upgrade paths.
SourceProviderTest::getMissingPaths function core/modules/migrate_drupal_ui/tests/src/Functional/SourceProviderTest.php Gets the missing upgrade paths.
SourceProviderTest::getSourceBasePath function core/modules/migrate_drupal_ui/tests/src/Functional/SourceProviderTest.php Gets the source base path for the concrete test.
Sql::ensurePath function core/modules/views/src/Plugin/views/query/Sql.php Ensures the given table can be linked to the primary table in the JOINs.
StageBase::getPathsToExclude function core/modules/package_manager/src/StageBase.php Collects paths that Composer Stager should exclude.
StageBaseTest::testCollectPathsToExclude function core/modules/package_manager/tests/src/Kernel/StageBaseTest.php Tests that paths to exclude are collected before create and apply.
StageBaseTest::testFailureCollectPathsToExclude function core/modules/package_manager/tests/src/Kernel/StageBaseTest.php Tests that if a stage fails to get paths to exclude, throws a stage exception.
StageBaseTest::testFailureCollectPathsToExcludeOnApply function core/modules/package_manager/tests/src/Kernel/StageBaseTest.php Tests that if apply fails to get paths to exclude, throws a stage exception.
StatusCheckEvent::$excludedPaths property core/modules/package_manager/src/Event/StatusCheckEvent.php The paths to exclude, or NULL if there was an error collecting them.
StatusCheckTraitTest::testNoErrorIfPathsToExcludeCannotBeCollected function core/modules/package_manager/tests/src/Kernel/StatusCheckTraitTest.php Tests that any error will be added to the status check event.
StatusCheckTraitTest::testPathsToExcludeCollected function core/modules/package_manager/tests/src/Kernel/StatusCheckTraitTest.php Tests that StatusCheckTrait will collect paths to exclude.
StreamWrapperInterface::realpath function core/lib/Drupal/Core/StreamWrapper/StreamWrapperInterface.php Returns canonical, absolute path of the resource.
StringFormatterTest::testLinkToContentForEntitiesWithNoCanonicalPath function core/modules/field/tests/src/Kernel/KernelString/StringFormatterTest.php Test "link_to_entity" feature on fields which are added to config entity.
StubPathMatcher class core/modules/system/tests/src/Kernel/Block/StubPathMatcher.php A class extending PatchMatcher for testing purposes.
StubPathMatcher.php file core/modules/system/tests/src/Kernel/Block/StubPathMatcher.php
StubPathMatcher::isFrontPage function core/modules/system/tests/src/Kernel/Block/StubPathMatcher.php Checks if the current page is the front page.
StyleSerializerTest::testSharedPagePath function core/modules/rest/tests/src/Functional/Views/StyleSerializerTest.php Verifies REST export views work on the same path as a page display.
SupernovaGenerator::getPathFromRoute function core/modules/help/tests/modules/help_test/src/SupernovaGenerator.php Gets the internal path (system path) for a route.
SymlinkValidatorTest::testUnsupportedLinkUnderExcludedPath function core/modules/package_manager/tests/src/Kernel/SymlinkValidatorTest.php Tests that unsupported links are excluded if they're under excluded paths.
system.admin_path.route_subscriber service core/modules/system/system.services.yml Drupal\system\EventSubscriber\AdminRouteSubscriber
system_post_update_remove_path_key function core/modules/system/system.post_update.php Remove path key in system.file.
TableDragTest::$indentationXpathSelector property core/tests/Drupal/FunctionalJavascriptTests/TableDrag/TableDragTest.php Xpath selector for finding tabledrag indentation elements in a table row.
TableDragTest::$tabledragChangedXpathSelector property core/tests/Drupal/FunctionalJavascriptTests/TableDrag/TableDragTest.php Xpath selector for finding the tabledrag changed marker.
TaxonomyDefaultArgumentTest::testNodePath function core/modules/taxonomy/tests/src/Kernel/Views/TaxonomyDefaultArgumentTest.php Tests the relationship.
TaxonomyDefaultArgumentTest::testNodePathWithViewSelection function core/modules/taxonomy/tests/src/Kernel/Views/TaxonomyDefaultArgumentTest.php Tests the entity reference field using a view for selection.
TaxonomyDefaultArgumentTest::testTermPath function core/modules/taxonomy/tests/src/Kernel/Views/TaxonomyDefaultArgumentTest.php Tests the behavior of term ID argument when accessing a term path.
TemporaryStream::getDirectoryPath function core/lib/Drupal/Core/StreamWrapper/TemporaryStream.php Gets the path that the wrapper is responsible for.
TermResourceTestBase::testPatchPath function core/modules/taxonomy/tests/src/Functional/Rest/TermResourceTestBase.php Tests PATCHing a term's path.
TermTest::testPatchPath function core/modules/jsonapi/tests/src/Functional/TermTest.php Tests PATCHing a term's path.
TestDatabase::getPhpErrorLogPath function core/lib/Drupal/Core/Test/TestDatabase.php Gets the file path of the PHP error log of the test.
TestDatabase::getTestSitePath function core/lib/Drupal/Core/Test/TestDatabase.php Gets the relative path to the test site directory.
TestPathBasedBreadcrumbBuilder class core/modules/system/tests/src/Unit/Breadcrumbs/PathBasedBreadcrumbBuilderTest.php Helper class for testing purposes only.
TestPathBasedBreadcrumbBuilder::$linkGenerator property core/modules/system/tests/src/Unit/Breadcrumbs/PathBasedBreadcrumbBuilderTest.php The test link generator.
TestPathBasedBreadcrumbBuilder::setLinkGenerator function core/modules/system/tests/src/Unit/Breadcrumbs/PathBasedBreadcrumbBuilderTest.php Sets the link generator.

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