public function ImageStylesWarmerInterface::addQueue in Image Style Warmer 8
Add file and image styles to ImageStylesPregenerator queue.
Parameters
\Drupal\file\FileInterface $file: The file for which image styles should be created.
array $image_styles: List of image styles machine names.
1 method overrides ImageStylesWarmerInterface::addQueue()
- ImageStylesWarmer::addQueue in src/
ImageStylesWarmer.php - Add file and image styles to ImageStylesPregenerator queue.
File
- src/
ImageStylesWarmerInterface.php, line 60
Class
- ImageStylesWarmerInterface
- Provides an interface defining an image styles warmer.
Namespace
Drupal\image_style_warmerCode
public function addQueue(FileInterface $file, array $image_styles);