file.api.php

Hooks for file module.

File

drupal/core/modules/file/file.api.php
View source

Functions

Namesort descending Description
hook_file_copy Respond to a file that has been copied.
hook_file_delete Respond to file deletion.
hook_file_download_access Control download access to files.
hook_file_download_access_alter Alter the access rules applied to a file download.
hook_file_insert Respond to a file being added.
hook_file_load Load additional information into file entities.
hook_file_move Respond to a file that has been moved.
hook_file_predelete Act prior to file deletion.
hook_file_presave Act on a file being inserted or updated.
hook_file_update Respond to a file being updated.
hook_file_validate Check that files meet a given criteria.