public static function Connection::open in Drupal 8
Same name in this branch
- 8 core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::open()
- 8 core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php \Drupal\Core\Database\Driver\sqlite\Connection::open()
- 8 core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php \Drupal\Core\Database\Driver\pgsql\Connection::open()
- 8 core/lib/Drupal/Core/Database/Driver/mysql/Connection.php \Drupal\Core\Database\Driver\mysql\Connection::open()
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::open()
Opens a PDO connection.
Parameters
array $connection_options: The database connection settings array.
Return value
\PDO A \PDO object.
3 methods override Connection::open()
- Connection::open in core/
lib/ Drupal/ Core/ Database/ Driver/ sqlite/ Connection.php - Opens a PDO connection.
- Connection::open in core/
lib/ Drupal/ Core/ Database/ Driver/ pgsql/ Connection.php - Opens a PDO connection.
- Connection::open in core/
lib/ Drupal/ Core/ Database/ Driver/ mysql/ Connection.php - Opens a PDO connection.
File
- core/
lib/ Drupal/ Core/ Database/ Connection.php, line 199
Class
- Connection
- Base Database API class.
Namespace
Drupal\Core\DatabaseCode
public static function open(array &$connection_options = []) {
}