Drupal Development Help
Friday, October 7, 2011
Whats the use of node_submit?
Prepares a node for saving by populating teaser, author, and creation date.
node_submit() should be called before any node_save() function;
Example:
node_validate($node);
node_submit($node);
node_save($node);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment