You are here

public function Connection::getAttachedDatabases in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php \Drupal\Core\Database\Driver\sqlite\Connection::getAttachedDatabases()

Gets all the attached databases.

Return value

array An array of attached database names.

See also

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

File

core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php, line 206

Class

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

Namespace

Drupal\Core\Database\Driver\sqlite

Code

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