Search for databasePrefix

  1. Search 7.x for databasePrefix
  2. Search 9.5.x for databasePrefix
  3. Search 10.3.x for databasePrefix
  4. Search 11.x for databasePrefix
  5. Other projects
Title Object type File name Summary
BrowserTestBase::$databasePrefix property core/tests/Drupal/Tests/BrowserTestBase.php The database prefix of this test run.
KernelTestBase::$databasePrefix property core/tests/Drupal/KernelTests/KernelTestBase.php
KernelTestBase::getDatabasePrefix function core/tests/Drupal/KernelTests/KernelTestBase.php
TestBase::$databasePrefix property core/modules/simpletest/src/TestBase.php The database prefix of this test run.
TestBase::getDatabasePrefix function core/modules/simpletest/src/TestBase.php Gets the database prefix.
TestBase::prepareDatabasePrefix function core/modules/simpletest/src/TestBase.php Generates a database prefix for running tests.
TestDatabase::$databasePrefix property core/lib/Drupal/Core/Test/TestDatabase.php The test database prefix.
TestDatabase::getDatabasePrefix function core/lib/Drupal/Core/Test/TestDatabase.php Gets the test database prefix.
TestSetupTrait::changeDatabasePrefix function core/lib/Drupal/Core/Test/TestSetupTrait.php Changes the database connection to the prefixed one.
TestSetupTrait::prepareDatabasePrefix function core/lib/Drupal/Core/Test/TestSetupTrait.php Generates a database prefix for running tests.
TestSetupTraitTest::testChangeDatabasePrefix function core/tests/Drupal/Tests/Core/Test/TestSetupTraitTest.php Tests the SIMPLETEST_DB environment variable is used.
TestSiteInstallCommand::$databasePrefix property core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php The database prefix of this test run.
TestSiteInstallCommand::changeDatabasePrefix function core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php
TestSiteInstallCommand::prepareDatabasePrefix function core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php Generates a database prefix for running tests.

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