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().

CommentFileSizeAuthor
#1 node_41.patch1.43 KBchx
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

chx’s picture

Title: Unused $param argument in hook_form() » Unused $param argument in hook_form(), preview fixes
FileSize
1.43 KB

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.

Steven’s picture

Status: Active » Fixed

Committed to HEAD.

Anonymous’s picture

Status: Fixed » Closed (fixed)