public UserData::__construct(Connection$connection)
Constructs a new user data service.
Parameters
\Drupal\Core\Database\Connection $connection: The database connection to use.
File
- core/modules/user/src/UserData.php, line 25
Class
- UserData
- Defines the user data service.
Namespace
Drupal\user
Code
public function __construct(Connection $connection) { $this->connection = $connection; }
Please login to continue.