/[drupal]/contributions/modules/hook_file/readme.txt
ViewVC logotype

Contents of /contributions/modules/hook_file/readme.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Sat Jan 3 16:08:44 2009 UTC (10 months, 3 weeks ago) by aaron
Branch: MAIN
CVS Tags: DRUPAL-6--1-0-UNSTABLE4, HEAD
Branch point for: DRUPAL-6--1
File MIME type: text/plain
Experimental backport of file.inc to hook_file.module (aaron).
1 // $Id$
2
3 hook_file
4
5 This is an experimental backport of Drupal 7's file.inc "hook_file" API to
6 Drupal 6. Things work the same, except anywhere you would call a file_xyz
7 function, you would call hook_file_xyz. Also, anywhere you would implement
8 hook_file_xyz, you would instead implement hook_hook_file_xyz.
9
10 This would give modules the new functionality, and when ultimately upgrading,
11 developers would replace the functions by simply changing all occurences of
12 "hook_file" to "file".

  ViewVC Help
Powered by ViewVC 1.1.2