function MediaTypeInterface::thumbnailDownloadsAreQueued

Same name and namespace in other branches
  1. 9 core/modules/media/src/MediaTypeInterface.php \Drupal\media\MediaTypeInterface::thumbnailDownloadsAreQueued()
  2. 10 core/modules/media/src/MediaTypeInterface.php \Drupal\media\MediaTypeInterface::thumbnailDownloadsAreQueued()
  3. 11.x 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\media

Code

public function thumbnailDownloadsAreQueued();

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