Connection::$connection

Same name in other branches
  1. 9 core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::connection
  2. 10 core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::connection
  3. 11.x core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::connection

The actual PDO connection.

Type: \PDO

File

core/lib/Drupal/Core/Database/Connection.php, line 99

Class

Connection
Base Database API class.

Namespace

Drupal\Core\Database

Code

protected $connection;

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