The docs for hook_nodeapi() for both (4.7 and HEAD) claim that hook_nodeapi(), for the case where $op == 'validate', allows hook to modify the node. This changed between 4.6 and 4.7 and needs to be updated in the docs.

-Ankur

CommentFileSizeAuthor
#3 hook_nodeapi.patch1.09 KBwebchick

Comments

pwolanin’s picture

you can see here:

http://cvs.drupal.org/viewcvs/drupal/contributions/docs/developer/hooks/...

the changes I made to hook_validate covering this same type of error- maybe you can apply a similar change to this $op for hook_nodeapi.

pnm’s picture

Title: api.drupal.org hook_nodeapi() documentation lies! » Update hook_nodeapi() documentation in 4.7 and HEAD
Component: Developer Guide » Documentation in CVS
webchick’s picture

StatusFileSize
new1.09 KB

Fixed in 4.7 and HEAD.

webchick’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)