You are here

public function SocialAuthUserInterface::getData in Social Auth 3.x

Same name and namespace in other branches
  1. 8.2 src/User/SocialAuthUserInterface.php \Drupal\social_auth\User\SocialAuthUserInterface::getData()

Gets a value from customData.

Parameters

string $key: The key identifying the data.

Return value

mixed|null The custom data or null if not found.

1 method overrides SocialAuthUserInterface::getData()
SocialAuthUser::getData in src/User/SocialAuthUser.php
Gets a value from customData.

File

src/User/SocialAuthUserInterface.php, line 176

Class

SocialAuthUserInterface
User data used for authentication with Drupal.

Namespace

Drupal\social_auth\User

Code

public function getData($key);