function TestDatabase::getDatabasePrefix
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Test/TestDatabase.php \Drupal\Core\Test\TestDatabase::getDatabasePrefix()
- 10 core/lib/Drupal/Core/Test/TestDatabase.php \Drupal\Core\Test\TestDatabase::getDatabasePrefix()
- 11.x core/lib/Drupal/Core/Test/TestDatabase.php \Drupal\Core\Test\TestDatabase::getDatabasePrefix()
Gets the test database prefix.
Return value
string The test database prefix.
File
-
core/
lib/ Drupal/ Core/ Test/ TestDatabase.php, line 109
Class
- TestDatabase
- Provides helper methods for interacting with the fixture database.
Namespace
Drupal\Core\TestCode
public function getDatabasePrefix() {
return $this->databasePrefix;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.