File (hook_file)

aaron - January 3, 2009 - 16:10

This is an experimental backport of Drupal 7's file.inc "hook_file" API to Drupal 6. Things work the same, except anywhere you would call a file_xyz function, you would call hook_file_xyz. Also, anywhere you would implement hook_file_xyz, you would instead implement hook_hook_file_xyz.

This would give modules the new functionality, and when ultimately upgrading, developers would replace the functions by simply changing all occurrences of "hook_file" to "file".

Releases

Official releasesDateSizeLinksStatus
6.x-1.0-unstable42009-Jan-2922.58 KBRecommended for 6.xThis is currently the recommended release for 6.x.


 
 

Drupal is a registered trademark of Dries Buytaert.