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".

Downloads

Version Downloads Date Links
6.x-1.0-unstable4 tar.gz (22.58 KB) | zip (23.83 KB) 2009-Jan-29 Notes

Project Information

  • Module categories: File Management, Utility
  • Maintenance status: Unknown
  • Development status: Unknown
  • Reported installs: 4 sites currently report using this module. View usage statistics.
  • Last modified: January 15, 2009

Maintainers for File (hook_file)

  • aaron - 5 commits
    last: 2 years ago, first: 3 years ago

Issues for File (hook_file)

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Oldest open issue: 3 Jan 09