TestDatabase::$databasePrefix

Same name in other branches
  1. 9 core/lib/Drupal/Core/Test/TestDatabase.php \Drupal\Core\Test\TestDatabase::databasePrefix
  2. 8.9.x core/lib/Drupal/Core/Test/TestDatabase.php \Drupal\Core\Test\TestDatabase::databasePrefix
  3. 11.x core/lib/Drupal/Core/Test/TestDatabase.php \Drupal\Core\Test\TestDatabase::databasePrefix

The test database prefix.

Type: string

File

core/lib/Drupal/Core/Test/TestDatabase.php, line 27

Class

TestDatabase
Provides helper methods for interacting with the fixture database.

Namespace

Drupal\Core\Test

Code

protected $databasePrefix;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.