You are here

public function Connection::getAttachedDatabases in Drupal 10

Gets all the attached databases.

Return value

array An array of attached database names.

See also

\Drupal\sqlite\Driver\Database\sqlite\Connection::__construct()

File

core/modules/sqlite/src/Driver/Database/sqlite/Connection.php, line 217

Class

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

Namespace

Drupal\sqlite\Driver\Database\sqlite

Code

public function getAttachedDatabases() {
  return $this->attachedDatabases;
}