function image_file_move in Drupal 7
Same name and namespace in other branches
- 8 core/modules/image/image.module \image_file_move()
- 9 core/modules/image/image.module \image_file_move()
Implements hook_file_move().
File
- modules/
image/ image.module, line 330 - Exposes global functionality for creating image styles.
Code
function image_file_move($file, $source) {
// Delete any image derivatives at the original image path.
image_path_flush($source->uri);
}