UserData::$connection
Same name in other branches
- 9 core/modules/user/src/UserData.php \Drupal\user\UserData::connection
- 8.9.x core/modules/user/src/UserData.php \Drupal\user\UserData::connection
- 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\userCode
protected $connection;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.