You are here

public function TestDatabase::getDatabasePrefix in Drupal 8

Same name and namespace in other branches
  1. 9 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 107

Class

TestDatabase
Provides helper methods for interacting with the fixture database.

Namespace

Drupal\Core\Test

Code

public function getDatabasePrefix() {
  return $this->databasePrefix;
}