public function MediaTypeInterface::thumbnailDownloadsAreQueued in Drupal 9
Same name and namespace in other branches
- 8 core/modules/media/src/MediaTypeInterface.php \Drupal\media\MediaTypeInterface::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.
1 method overrides MediaTypeInterface::thumbnailDownloadsAreQueued()
- MediaType::thumbnailDownloadsAreQueued in core/
modules/ media/ src/ Entity/ MediaType.php - Returns whether thumbnail downloads are queued.
File
- core/
modules/ media/ src/ MediaTypeInterface.php, line 46
Class
- MediaTypeInterface
- Provides an interface defining a media type entity.
Namespace
Drupal\mediaCode
public function thumbnailDownloadsAreQueued();