Search for projectRoot

  1. Search 7.x for projectRoot
  2. Search 9.5.x for projectRoot
  3. Search 8.9.x for projectRoot
  4. Search 10.3.x for projectRoot
  5. Other projects
Title Object type File name Summary
AssertPreconditionsTrait::getProjectRoot function core/modules/package_manager/tests/src/Traits/AssertPreconditionsTrait.php Returns the absolute path of the project root.
CollectPathsToExcludeEvent::addPathsRelativeToProjectRoot function core/modules/package_manager/src/Event/CollectPathsToExcludeEvent.php Flags paths to be ignored, relative to the project root.
Fixtures::projectRoot function core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Fixtures.php Gets the path to Scaffold component.
Fixtures::projectRoot function core/tests/Drupal/Tests/Composer/Plugin/Unpack/Fixtures.php Gets the path to Scaffold component.
FixturesBase::projectRoot function core/tests/Drupal/Tests/Composer/Plugin/FixturesBase.php Gets the path to Scaffold component.
ManageGitIgnoreTest::$projectRoot property core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ManageGitIgnoreTest.php The root of this project.
MockPathLocator::getProjectRoot function core/modules/package_manager/tests/modules/package_manager_bypass/src/MockPathLocator.php
PackageManagerKernelTestBase::$testProjectRoot property core/modules/package_manager/tests/src/Kernel/PackageManagerKernelTestBase.php The test root directory, if any, created by ::createTestProject().
PathLocator::getProjectRoot function core/modules/package_manager/src/PathLocator.php Returns the absolute path of the project root.
PhpTufValidatorTest::testInvalidConfigurationInProjectRoot function core/modules/package_manager/tests/src/Kernel/PhpTufValidatorTest.php Tests errors caused by invalid plugin configuration in the project root.
PhpTufValidatorTest::testPluginNotInstalledInProjectRoot function core/modules/package_manager/tests/src/Kernel/PhpTufValidatorTest.php Tests there is an error if the plugin is not installed in the project root.
ScaffoldTest::$projectRoot property core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ScaffoldTest.php The root of this project.
SymlinkValidatorTest::testSymlinkPointingOutsideProjectRoot function core/modules/package_manager/tests/src/Kernel/SymlinkValidatorTest.php Tests that relative symlinks cannot point outside the project root.

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