You are here

public function Connection::getFullQualifiedTableName in Drupal 8

Same name in this branch
  1. 8 core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::getFullQualifiedTableName()
  2. 8 core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php \Drupal\Core\Database\Driver\sqlite\Connection::getFullQualifiedTableName()
  3. 8 core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php \Drupal\Core\Database\Driver\pgsql\Connection::getFullQualifiedTableName()
Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php \Drupal\Core\Database\Driver\sqlite\Connection::getFullQualifiedTableName()

Get a fully qualified table name.

Parameters

string $table: The name of the table in question.

Return value

string

Overrides Connection::getFullQualifiedTableName

File

core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php, line 431

Class

Connection
SQLite implementation of \Drupal\Core\Database\Connection.

Namespace

Drupal\Core\Database\Driver\sqlite

Code

public function getFullQualifiedTableName($table) {
  $prefix = $this
    ->tablePrefix($table);

  // Don't include the SQLite database file name as part of the table name.
  return $prefix . $table;
}