[drupal-devel] nodeapi validate

Karoly Negyesi karoly at negyesi.net
Sat Aug 20 23:18:39 UTC 2005


Hi!

We call nodeapi validate in the following situations:

a) We are about to create a node. This is the first time nodeapi called on  
the page, before 'form pre'.
b) We have just submitted the form. The node exists in $_POST only.
c) We are about to edit a node. This is the first time nodeapi called on  
the page, before 'form pre'.
d) We have just submitted the form. The node exists in the database and  
there is some update in $_POST.

I propose that a) and c) begone and b) and d) be distincted.

Regards

NK



More information about the drupal-devel mailing list