UserData::__construct

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;
}
doc_Drupal
2016-10-29 09:52:30
Comments
Leave a Comment

Please login to continue.