You are here

public function ImageStylesWarmerInterface::validateImage in Image Style Warmer 8

Validate file as an image file.

Parameters

\Drupal\file\FileInterface $file: The file for which image styles should be created.

1 method overrides ImageStylesWarmerInterface::validateImage()
ImageStylesWarmer::validateImage in src/ImageStylesWarmer.php
Validate file as an image file.

File

src/ImageStylesWarmerInterface.php, line 68

Class

ImageStylesWarmerInterface
Provides an interface defining an image styles warmer.

Namespace

Drupal\image_style_warmer

Code

public function validateImage(FileInterface $file);