public function TweetEntity::getTweetUserProfile in Tweet Feed 8.3
Same name and namespace in other branches
- 4.x src/Entity/TweetEntity.php \Drupal\tweet_feed\Entity\TweetEntity::getTweetUserProfile()
File
- src/
Entity/ TweetEntity.php, line 228
Class
- TweetEntity
- Defines the Tweet Feed Tweet entity.
Namespace
Drupal\tweet_feed\EntityCode
public function getTweetUserProfile() {
$id = $this
->get('tweet_user_profile_id');
return \Drupal::entityTypeManager()
->getStorage('user')
->load($id);
}