interface UserManagerInterface in Social API 3.x
Same name and namespace in other branches
- 8.2 src/User/UserManagerInterface.php \Drupal\social_api\User\UserManagerInterface
Interface for database-related tasks.
Hierarchy
- interface \Drupal\social_api\User\UserManagerInterface
Expanded class hierarchy of UserManagerInterface
All classes that implement UserManagerInterface
File
- src/
User/ UserManagerInterface.php, line 8
Namespace
Drupal\social_api\UserView source
interface UserManagerInterface {
/**
* Gets the implementer plugin id.
*
* @return string
* The plugin id.
*/
public function getPluginId();
/**
* Sets the implementer plugin id.
*
* @param string $plugin_id
* The plugin id.
*/
public function setPluginId($plugin_id);
/**
* Gets the Drupal user id based on the provider user id.
*
* @param string $provider_user_id
* User's id on provider.
*
* @return int|false
* The Drupal user id if it exists.
* False otherwise.
*/
public function getDrupalUserId($provider_user_id);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
UserManagerInterface:: |
public | function | Gets the Drupal user id based on the provider user id. | 1 |
UserManagerInterface:: |
public | function | Gets the implementer plugin id. | 1 |
UserManagerInterface:: |
public | function | Sets the implementer plugin id. | 1 |