public function MediaType::thumbnailDownloadsAreQueued in Drupal 10
Same name and namespace in other branches
- 8 core/modules/media/src/Entity/MediaType.php \Drupal\media\Entity\MediaType::thumbnailDownloadsAreQueued()
- 9 core/modules/media/src/Entity/MediaType.php \Drupal\media\Entity\MediaType::thumbnailDownloadsAreQueued()
Returns whether thumbnail downloads are queued.
When using remote media sources, the thumbnail generation could be a slow process. Using a queue allows for this process to be handled in the background.
Return value
bool TRUE if thumbnails are queued for download later, FALSE if they should be downloaded now.
Overrides MediaTypeInterface::thumbnailDownloadsAreQueued
File
- core/
modules/ media/ src/ Entity/ MediaType.php, line 174
Class
- MediaType
- Defines the Media type configuration entity.
Namespace
Drupal\media\EntityCode
public function thumbnailDownloadsAreQueued() {
return $this->queue_thumbnail_downloads;
}