KeyValueDatabaseFactory::$connection

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

The database connection to use.

Type: \Drupal\Core\Database\Connection

File

core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseFactory.php, line 25

Class

KeyValueDatabaseFactory
Defines the key/value store factory for the database backend.

Namespace

Drupal\Core\KeyValueStore

Code

protected $connection;

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