function KernelTestBase::getDatabasePrefix
Same name in other branches
- 9 core/tests/Drupal/KernelTests/KernelTestBase.php \Drupal\KernelTests\KernelTestBase::getDatabasePrefix()
- 8.9.x core/tests/Drupal/KernelTests/KernelTestBase.php \Drupal\KernelTests\KernelTestBase::getDatabasePrefix()
- 11.x core/tests/Drupal/KernelTests/KernelTestBase.php \Drupal\KernelTests\KernelTestBase::getDatabasePrefix()
Return value
string
2 calls to KernelTestBase::getDatabasePrefix()
- DriverSpecificSchemaTestBase::testSchema in core/
tests/ Drupal/ KernelTests/ Core/ Database/ DriverSpecificSchemaTestBase.php - Tests database interactions.
- SchemaTest::checkSequenceRenaming in core/
modules/ pgsql/ tests/ src/ Kernel/ pgsql/ SchemaTest.php - Check that the ID sequence gets renamed when the table is renamed.
File
-
core/
tests/ Drupal/ KernelTests/ KernelTestBase.php, line 349
Class
- KernelTestBase
- Base class for functional integration tests.
Namespace
Drupal\KernelTestsCode
public function getDatabasePrefix() {
return $this->databasePrefix;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.