Connection::getFullQualifiedTableName

public Connection::getFullQualifiedTableName($table)

Get a fully qualified table name.

Parameters

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

Return value

string

File

core/lib/Drupal/Core/Database/Connection.php, line 367

Class

Connection
Base Database API class.

Namespace

Drupal\Core\Database

Code

1
2
3
4
5
public function getFullQualifiedTableName($table) {
  $options = $this->getConnectionOptions();
  $prefix = $this->tablePrefix($table);
  return $options['database'] . '.' . $prefix . $table;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.