public function MediaType::setQueueThumbnailDownloadsStatus in Drupal 9
Same name and namespace in other branches
- 8 core/modules/media/src/Entity/MediaType.php \Drupal\media\Entity\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 179
Class
- MediaType
- Defines the Media type configuration entity.
Namespace
Drupal\media\EntityCode
public function setQueueThumbnailDownloadsStatus($queue_thumbnail_downloads) {
return $this
->set('queue_thumbnail_downloads', $queue_thumbnail_downloads);
}