public static function ThumbnailDownloader::create in Drupal 10
Same name and namespace in other branches
- 8 core/modules/media/src/Plugin/QueueWorker/ThumbnailDownloader.php \Drupal\media\Plugin\QueueWorker\ThumbnailDownloader::create()
- 9 core/modules/media/src/Plugin/QueueWorker/ThumbnailDownloader.php \Drupal\media\Plugin\QueueWorker\ThumbnailDownloader::create()
File
- core/
modules/ media/ src/ Plugin/ QueueWorker/ ThumbnailDownloader.php, line 48
Class
- ThumbnailDownloader
- Process a queue of media items to fetch their thumbnails.
Namespace
Drupal\media\Plugin\QueueWorkerCode
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
return new static($configuration, $plugin_id, $plugin_definition, $container
->get('entity_type.manager'));
}