function image_file_delete
image_file_delete($file)
Implements hook_file_delete().
File
- modules/image/image.module, line 338
- Exposes global functionality for creating image styles.
Code
function image_file_delete($file) { // Delete any image derivatives of this image. image_path_flush($file->uri); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!image!image.module/function/image_file_delete/7.x