public function TweetEntity::getTweetUserProfile in Tweet Feed 4.x
Same name and namespace in other branches
- 8.3 src/Entity/TweetEntity.php \Drupal\tweet_feed\Entity\TweetEntity::getTweetUserProfile()
File
- src/
Entity/ TweetEntity.php, line 224
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);
}