1 file.module file_file_predelete(File $file)

Implements hook_file_predelete().

File

core/modules/file/file.module, line 1251
Defines a "managed_file" Form API field and a "file" field for Field module.

Code

function file_file_predelete(File $file) {
  // TODO: Remove references to a file that is in-use.
}