Parent Directory
|
Revision Log
|
Revision Graph
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 |