hook_file_update

Definition

hook_file_update(&$file)
drupal/modules/system/system.api.php, line 1063

Description

Respond to a file being updated.

This hook is called when file_save() is called on an existing file.

@see file_save()

Parameters

$file The file that has just been updated.

Return value

None.

Related topics

Namesort iconDescription
HooksAllow modules to interact with the Drupal core.

Code

function hook_file_update(&$file) {

}