Search for hook_file
- Search 9.5.x for hook_file
- Search 8.9.x for hook_file
- Search 10.3.x for hook_file
- Search 11.x for hook_file
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
hook_filetransfer_info | function | modules/ |
Register information about FileTransfer classes provided by a module. |
hook_filetransfer_info_alter | function | modules/ |
Alter the FileTransfer class registry. |
hook_file_copy | function | modules/ |
Respond to a file that has been copied. |
hook_file_delete | function | modules/ |
Respond to a file being deleted. |
hook_file_download | function | modules/ |
Control access to private file downloads and specify HTTP headers. |
hook_file_download_access | function | modules/ |
Control download access to files. |
hook_file_download_access_alter | function | modules/ |
Alter the access rules applied to a file download. |
hook_file_insert | function | modules/ |
Respond to a file being added. |
hook_file_load | function | modules/ |
Load additional information into file objects. |
hook_file_mimetype_mapping_alter | function | modules/ |
Alter MIME type mappings used to determine MIME type from a file extension. |
hook_file_move | function | modules/ |
Respond to a file that has been moved. |
hook_file_presave | function | modules/ |
Act on a file being inserted or updated. |
hook_file_update | function | modules/ |
Respond to a file being updated. |
hook_file_url_alter | function | modules/ |
Alter the URL to a file. |
hook_file_validate | function | modules/ |
Check that files meet a given criteria. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.