1 image.module image_file_predelete(File $file)

Implements hook_file_predelete().

File

core/modules/image/image.module, line 344
Exposes global functionality for creating image styles.

Code

function image_file_predelete(File $file) {
  // Delete any image derivatives of this image.
  image_path_flush($file->uri);
}