function MediaType::setQueueThumbnailDownloadsStatus

Sets a flag to indicate that thumbnails should be downloaded via a queue.

Parameters

bool $queue_thumbnail_downloads: The queue downloads flag.

Return value

$this

Overrides MediaTypeInterface::setQueueThumbnailDownloadsStatus

File

core/modules/media/src/Entity/MediaType.php, line 185

Class

MediaType
Defines the Media type configuration entity.

Namespace

Drupal\media\Entity

Code

public function setQueueThumbnailDownloadsStatus($queue_thumbnail_downloads) {
  return $this->set('queue_thumbnail_downloads', $queue_thumbnail_downloads);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.