UserData::$connection

Same name in other branches
  1. 9 core/modules/user/src/UserData.php \Drupal\user\UserData::connection
  2. 8.9.x core/modules/user/src/UserData.php \Drupal\user\UserData::connection
  3. 11.x core/modules/user/src/UserData.php \Drupal\user\UserData::connection

The database connection to use.

Type: \Drupal\Core\Database\Connection

File

core/modules/user/src/UserData.php, line 17

Class

UserData
Defines the user data service.

Namespace

Drupal\user

Code

protected $connection;

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