clarify 'insert' in hook_nodeapi

joachim - July 17, 2008 - 14:48
Project:Drupal
Version:7.x-dev
Component:documentation
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

It would be useful to clarify that the 'insert' operation is called *after* the node has been added to the database -- in other words, altering $node here has no effect.

ie, change:

"insert": The node is being created (inserted in the database).

to

"insert": The node has just been created (inserted in the database).

#1

Eikaa - July 23, 2008 - 14:05

i second that!

#2

bmadore - August 31, 2008 - 08:14
Project:Documentation» Drupal
Version:» 7.x-dev
Component:Documentation in CVS» documentation

Moving

 
 

Drupal is a registered trademark of Dries Buytaert.