function BuildTestBase::getDrupalRoot
Same name in other branches
- 9 core/tests/Drupal/BuildTests/Framework/BuildTestBase.php \Drupal\BuildTests\Framework\BuildTestBase::getDrupalRoot()
- 8.9.x core/tests/Drupal/BuildTests/Framework/BuildTestBase.php \Drupal\BuildTests\Framework\BuildTestBase::getDrupalRoot()
- 11.x core/tests/Drupal/BuildTests/Framework/BuildTestBase.php \Drupal\BuildTests\Framework\BuildTestBase::getDrupalRoot()
Get the root path of this Drupal codebase.
Return value
string The full path to the root of this Drupal codebase.
5 calls to BuildTestBase::getDrupalRoot()
- BuildTestBase::getWorkingPathDrupalRoot in core/
tests/ Drupal/ BuildTests/ Framework/ BuildTestBase.php - Gets the working path for Drupal core.
- ComposerProjectTemplatesTest::getCoreStability in core/
tests/ Drupal/ BuildTests/ Composer/ Template/ ComposerProjectTemplatesTest.php - Returns the stability of the current core version.
- ComposerProjectTemplatesTest::makeVendorPackage in core/
tests/ Drupal/ BuildTests/ Composer/ Template/ ComposerProjectTemplatesTest.php - Creates a test package that points to all the projects in vendor.
- ComposerProjectTemplatesTest::testMinimumStabilityStrictness in core/
tests/ Drupal/ BuildTests/ Composer/ Template/ ComposerProjectTemplatesTest.php - Make sure that static::MINIMUM_STABILITY is sufficiently strict.
- ComposerProjectTemplatesTest::testVerifyTemplateTestProviderIsAccurate in core/
tests/ Drupal/ BuildTests/ Composer/ Template/ ComposerProjectTemplatesTest.php - Make sure we've accounted for all the templates.
File
-
core/
tests/ Drupal/ BuildTests/ Framework/ BuildTestBase.php, line 602
Class
- BuildTestBase
- Provides a workspace to test build processes.
Namespace
Drupal\BuildTests\FrameworkCode
public function getDrupalRoot() {
return self::getDrupalRootStatic();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.