public function Connection::getAttachedDatabases

public 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 174

Class

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

Namespace

Drupal\Core\Database\Driver\sqlite

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Database!Driver!sqlite!Connection.php/function/Connection::getAttachedDatabases/8.1.x