This is in regard to:
http://api.drupal.org/api/function/hook_nodeapi/5
In the description of the $op parameter, it currently says:
- "insert": The node is being created (inserted in the database).
It would be more accurate to say:
- "insert": The node is being created (it has been inserted in the database).
This additional detail would be helpful for anyone who is wondering whether changes to the node during hook_nodeapi will be included in the database insert. You could even say:
- "insert": The node is being created (it has been inserted in the database, but hook_node_access_records has not yet been invoked and the cache has not yet been cleared).
... if you wanted to be super-helpful.
Comments
Comment #1
joachim commentedHas also been filed here, with a patch: http://drupal.org/node/543836