Defines the user data service.
Hierarchy
- class \Drupal\user\UserData implements UserDataInterface
File
- core/modules/user/src/UserData.php, line 10
Namespace
Drupal\user
Members
Name | Modifiers | Type | Description |
---|---|---|---|
UserData::$connection | protected | property | The database connection to use. |
UserData::delete | public | function | Deletes data stored for a user account. Overrides UserDataInterface::delete |
UserData::get | public | function | Returns data stored for a user account. Overrides UserDataInterface::get |
UserData::set | public | function | Stores data for a user account. Overrides UserDataInterface::set |
UserData::__construct | public | function | Constructs a new user data service. |
Please login to continue.