You are here

public function ImageStylesWarmerInterface::doWarmUp in Image Style Warmer 8

Do warm up of image styles for an image file.

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::doWarmUp()
ImageStylesWarmer::doWarmUp in src/ImageStylesWarmer.php
Do warm up of image styles for an image file.

File

src/ImageStylesWarmerInterface.php, line 28

Class

ImageStylesWarmerInterface
Provides an interface defining an image styles warmer.

Namespace

Drupal\image_style_warmer

Code

public function doWarmUp(FileInterface $file, array $image_styles);