You are here

public function TweetEntity::setLinkToTweet in Tweet Feed 8.3

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

File

src/Entity/TweetEntity.php, line 428

Class

TweetEntity
Defines the Tweet Feed Tweet entity.

Namespace

Drupal\tweet_feed\Entity

Code

public function setLinkToTweet($link_to_tweet) {
  $this
    ->set('link_to_tweet', $link_to_tweet);
  return $this;
}