public function ScaffoldTestResult::docroot in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Composer/Plugin/Scaffold/ScaffoldTestResult.php \Drupal\Tests\Composer\Plugin\Scaffold\ScaffoldTestResult::docroot()
- 9 core/tests/Drupal/Tests/Composer/Plugin/Scaffold/ScaffoldTestResult.php \Drupal\Tests\Composer\Plugin\Scaffold\ScaffoldTestResult::docroot()
Returns the location of the docroot from the scaffold test.
Return value
string
File
- core/
tests/ Drupal/ Tests/ Composer/ Plugin/ Scaffold/ ScaffoldTestResult.php, line 31
Class
- ScaffoldTestResult
- Holds result of a scaffold test.
Namespace
Drupal\Tests\Composer\Plugin\ScaffoldCode
public function docroot() {
return $this->docroot;
}