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

Breadcrumb

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

function 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/Connection.php
Get a fully qualified table name.
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 299

Class

Connection
Base Database API class.

Namespace

Drupal\Core\Database

Code

public function getConnectionOptions() {
    return $this->connectionOptions;
}
RSS feed
Powered by Drupal