function pathauto_file_delete in File Entity (fieldable files) 7.2
Same name and namespace in other branches
- 7.3 file_entity.module \pathauto_file_delete()
Implements hook_file_delete() on behalf of pathauto.module.
File
- ./
file_entity.module, line 2368 - Extends Drupal file entities to be fieldable and viewable.
Code
function pathauto_file_delete($file) {
pathauto_entity_path_delete_all('file', $file, "file/{$file->fid}");
}