function Connection::getConnectionOptions
Same name in other branches
- 9 core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::getConnectionOptions()
- 10 core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::getConnectionOptions()
- 11.x core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::getConnectionOptions()
Returns the connection information for this connection object.
Note that Database::getConnectionInfo() is for requesting information about an arbitrary database connection that is defined. This method is for requesting the connection information of this specific open connection object.
Return value
array An array of the connection information. The exact list of properties is driver-dependent.
2 calls to Connection::getConnectionOptions()
- Connection::getFullQualifiedTableName in core/
lib/ Drupal/ Core/ Database/ Driver/ pgsql/ Connection.php - Get a fully qualified table name.
- Connection::getFullQualifiedTableName in core/
lib/ Drupal/ Core/ Database/ Connection.php - Get a fully qualified table name.
File
-
core/
lib/ Drupal/ Core/ Database/ Connection.php, line 285
Class
- Connection
- Base Database API class.
Namespace
Drupal\Core\DatabaseCode
public function getConnectionOptions() {
return $this->connectionOptions;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.