DatabaseLockBackend::$database

Same name in other branches
  1. 9 core/lib/Drupal/Core/Lock/DatabaseLockBackend.php \Drupal\Core\Lock\DatabaseLockBackend::database
  2. 8.9.x core/lib/Drupal/Core/Lock/DatabaseLockBackend.php \Drupal\Core\Lock\DatabaseLockBackend::database
  3. 11.x core/lib/Drupal/Core/Lock/DatabaseLockBackend.php \Drupal\Core\Lock\DatabaseLockBackend::database

The database connection.

Type: \Drupal\Core\Database\Connection

File

core/lib/Drupal/Core/Lock/DatabaseLockBackend.php, line 27

Class

DatabaseLockBackend
Defines the database lock backend. This is the default backend in Drupal.

Namespace

Drupal\Core\Lock

Code

protected $database;

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