You are here

public function TweetEntity::setProfileImage in Tweet Feed 8.3

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

File

src/Entity/TweetEntity.php, line 436

Class

TweetEntity
Defines the Tweet Feed Tweet entity.

Namespace

Drupal\tweet_feed\Entity

Code

public function setProfileImage($image) {
  $this
    ->set('profile_image', $image);
  return $this;
}