Unused $param argument in hook_form(), preview fixes
JonBob - October 27, 2005 - 14:12
| Project: | Drupal |
| Version: | x.y.z |
| Component: | node.module |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | closed |
Description
The new form API obsoletes the $param argument to this hook. The hook should be changed accordingly, and the call to the hook in node_form should be changed back to a normal node_invoke().

#1
This was fixed by me and walkah and none of them got it. Nice job :/ (we had clashes between svn and cvs).
Also included a simple mechanism to show when you are in node_preview, so that you can do a proper check_markup.
#2
Committed to HEAD.
#3