function Connection::getAttachedDatabases

Same name in other branches
  1. 9 core/modules/sqlite/src/Driver/Database/sqlite/Connection.php \Drupal\sqlite\Driver\Database\sqlite\Connection::getAttachedDatabases()
  2. 8.9.x core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php \Drupal\Core\Database\Driver\sqlite\Connection::getAttachedDatabases()
  3. 11.x core/modules/sqlite/src/Driver/Database/sqlite/Connection.php \Drupal\sqlite\Driver\Database\sqlite\Connection::getAttachedDatabases()

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 227

Class

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

Namespace

Drupal\sqlite\Driver\Database\sqlite

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.