Act prior to file deletion.
This hook is invoked when deleting a file before the file is removed from the filesystem and before its records are removed from the database.
File $file: The file that is about to be deleted.
modules/ system/ system.api.php, line 2319
- Hooks provided by Backdrop core and the System module.