function BuildTestBase::getWorkspaceDirectory
Same name and namespace in other branches
- 11.x core/tests/Drupal/BuildTests/Framework/BuildTestBase.php \Drupal\BuildTests\Framework\BuildTestBase::getWorkspaceDirectory()
Full path to the workspace where this test can build.
This is often a directory within the system's temporary directory.
Return value
string Full path to the workspace where this test can build.
1 call to BuildTestBase::getWorkspaceDirectory()
- LegacyScriptsTest::testVendorTestCodeCleanup in core/
tests/ Drupal/ BuildTests/ Composer/ LegacyScriptsTest.php - @covers ::vendorTestCodeCleanup[[api-linebreak]]
File
-
core/
tests/ Drupal/ BuildTests/ Framework/ BuildTestBase.php, line 261
Class
- BuildTestBase
- Provides a workspace to test build processes.
Namespace
Drupal\BuildTests\FrameworkCode
public function getWorkspaceDirectory() {
return $this->workspaceDir;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.