public function UserManagerInterface::getDrupalUserId in Social API 3.x
Same name and namespace in other branches
- 8.2 src/User/UserManagerInterface.php \Drupal\social_api\User\UserManagerInterface::getDrupalUserId()
Gets the Drupal user id based on the provider user id.
Parameters
string $provider_user_id: User's id on provider.
Return value
int|false The Drupal user id if it exists. False otherwise.
1 method overrides UserManagerInterface::getDrupalUserId()
- UserManager::getDrupalUserId in src/
User/ UserManager.php - Gets the Drupal user id based on the provider user id.
File
- src/
User/ UserManagerInterface.php, line 36
Class
- UserManagerInterface
- Interface for database-related tasks.
Namespace
Drupal\social_api\UserCode
public function getDrupalUserId($provider_user_id);