public function SocialPost::getProviderUserId in Social Post 3.x
Same name and namespace in other branches
- 8.2 src/Entity/SocialPost.php \Drupal\social_post\Entity\SocialPost::getProviderUserId()
Gets User ID in provider.
Return value
string User ID in provider.
File
- src/
Entity/ SocialPost.php, line 66
Class
- SocialPost
- Defines the Social Post entity.
Namespace
Drupal\social_post\EntityCode
public function getProviderUserId() : string {
return $this
->get('provider_user_id')->value;
}