function Connection::getFullQualifiedTableName
Same name in this branch
- 11.x core/modules/sqlite/src/Driver/Database/sqlite/Connection.php \Drupal\sqlite\Driver\Database\sqlite\Connection::getFullQualifiedTableName()
- 11.x core/modules/pgsql/src/Driver/Database/pgsql/Connection.php \Drupal\pgsql\Driver\Database\pgsql\Connection::getFullQualifiedTableName()
Same name in other branches
- 9 core/modules/sqlite/src/Driver/Database/sqlite/Connection.php \Drupal\sqlite\Driver\Database\sqlite\Connection::getFullQualifiedTableName()
- 9 core/modules/pgsql/src/Driver/Database/pgsql/Connection.php \Drupal\pgsql\Driver\Database\pgsql\Connection::getFullQualifiedTableName()
- 9 core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::getFullQualifiedTableName()
- 8.9.x core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php \Drupal\Core\Database\Driver\sqlite\Connection::getFullQualifiedTableName()
- 8.9.x core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php \Drupal\Core\Database\Driver\pgsql\Connection::getFullQualifiedTableName()
- 8.9.x core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::getFullQualifiedTableName()
- 10 core/modules/sqlite/src/Driver/Database/sqlite/Connection.php \Drupal\sqlite\Driver\Database\sqlite\Connection::getFullQualifiedTableName()
- 10 core/modules/pgsql/src/Driver/Database/pgsql/Connection.php \Drupal\pgsql\Driver\Database\pgsql\Connection::getFullQualifiedTableName()
- 10 core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::getFullQualifiedTableName()
Get a fully qualified table name.
Parameters
string $table: The name of the table in question.
Return value
string
2 methods override Connection::getFullQualifiedTableName()
- Connection::getFullQualifiedTableName in core/
modules/ sqlite/ src/ Driver/ Database/ sqlite/ Connection.php - Connection::getFullQualifiedTableName in core/
modules/ pgsql/ src/ Driver/ Database/ pgsql/ Connection.php - Get a fully qualified table name.
File
-
core/
lib/ Drupal/ Core/ Database/ Connection.php, line 399
Class
- Connection
- Base Database API class.
Namespace
Drupal\Core\DatabaseCode
public function getFullQualifiedTableName($table) {
$options = $this->getConnectionOptions();
$prefix = $this->getPrefix();
return $options['database'] . '.' . $prefix . $table;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.