public function SocialAuthUserInterface::addData in Social Auth 3.x
Same name and namespace in other branches
- 8.2 src/User/SocialAuthUserInterface.php \Drupal\social_auth\User\SocialAuthUserInterface::addData()
Adds a new key-value pair in customData.
Parameters
string $key: The key identifying the data.
mixed $value: The value associated to the key.
Return value
\Drupal\social_auth\User\User The User instance.
1 method overrides SocialAuthUserInterface::addData()
- SocialAuthUser::addData in src/
User/ SocialAuthUser.php - Adds a new key-value pair in customData.
File
- src/
User/ SocialAuthUserInterface.php, line 165
Class
- SocialAuthUserInterface
- User data used for authentication with Drupal.
Namespace
Drupal\social_auth\UserCode
public function addData($key, $value);