You are here

public function Media::setQueuedThumbnailDownload in Media entity 8

Sets a flag to indicate the thumbnail will be retrieved via a queue.

Overrides MediaInterface::setQueuedThumbnailDownload

File

src/Entity/Media.php, line 133

Class

Media
Defines the media entity class.

Namespace

Drupal\media_entity\Entity

Code

public function setQueuedThumbnailDownload() {
  $this->queued_thumbnail_download = TRUE;
}