You are here

public function TweetEntity::setReferencedTweetId in Tweet Feed 4.x

Same name and namespace in other branches
  1. 8.3 src/Entity/TweetEntity.php \Drupal\tweet_feed\Entity\TweetEntity::setReferencedTweetId()

File

src/Entity/TweetEntity.php, line 424

Class

TweetEntity
Defines the Tweet Feed Tweet entity.

Namespace

Drupal\tweet_feed\Entity

Code

public function setReferencedTweetId($id) {
  $this
    ->set('referenced_tweet_id', $id);
  return $this;
}