function file_file_predelete
Same name in other branches
- 9 core/modules/file/file.module \file_file_predelete()
- 8.9.x core/modules/file/file.module \file_file_predelete()
Implements hook_ENTITY_TYPE_predelete() for file entities.
File
-
core/
modules/ file/ file.module, line 754
Code
function file_file_predelete(File $file) {
// @todo Remove references to a file that is in-use.
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.