You are here

public function TwitterProfileEntity::setBannerImage in Tweet Feed 8.3

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

File

src/Entity/TwitterProfileEntity.php, line 236

Class

TwitterProfileEntity
Defines the Twitt3er Profile entity.

Namespace

Drupal\tweet_feed\Entity

Code

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