public function TestDatabase::getTestSitePath in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Test/TestDatabase.php \Drupal\Core\Test\TestDatabase::getTestSitePath()
- 9 core/lib/Drupal/Core/Test/TestDatabase.php \Drupal\Core\Test\TestDatabase::getTestSitePath()
Gets the relative path to the test site directory.
Return value
string The relative path to the test site directory.
File
- core/
lib/ Drupal/ Core/ Test/ TestDatabase.php, line 96
Class
- TestDatabase
- Provides helper methods for interacting with the fixture database.
Namespace
Drupal\Core\TestCode
public function getTestSitePath() {
return 'sites/simpletest/' . $this->lockId;
}