Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. TestDatabase.php

function TestDatabase::getDatabasePrefix

Gets the test database prefix.

Return value

string The test database prefix.

File

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

Class

TestDatabase
Provides helper methods for interacting with the fixture database.

Namespace

Drupal\Core\Test

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal